Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Packages' topicStudent Support Forum > General > "Packages"

< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic
Author Comment/Response
Nasser M. Abbasi
06/30/12 4:25pm


=============================
I am using command "packages = << VertexEnum.m; << Combinatorica`;" to call them but these two errors happened:
============================

This is not how one loads a package.

Have you looked at http://reference.wolfram.com/mathematica/tutorial/MathematicaPackages.html ?

But a SIMPLE way to load a package, is like this:

Assume you are on windows, and your package .m file is C:\my_package.m, then type

Get["C:\\my_package.m"]

That is all. Do the same for the other package.

If the package is a system package, like Combinatorica.m, then do

<< Combinatorica`

You do not have to do them both on the same line. Load one then the next.

--Nasser

URL: ,

Subject (listing for 'Packages')
Author Date Posted
Packages Afrooz 06/29/12 3:58pm
Re: Packages Nasser M. Ab... 06/30/12 4:25pm
Re: Packages Afrooz 07/01/12 3:38pm
Re: Packages Nasser M. Ab... 07/04/12 6:03pm
< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic