Re: Loading packages
- To: mathgroup at smc.vnet.net
- Subject: [mg9526] Re: [mg9516] Loading packages
- From: David Withoff <withoff>
- Date: Thu, 13 Nov 1997 01:39:56 -0500
- Sender: owner-wri-mathgroup at wolfram.com
> I have a problem that I have seen pop up on this list from time to time, > but I can't make any of the answers that have appeared work. I can't > load the packages I write into Mathematica 3.0 with either Get or Need. > > I followed instruction set (2) on the above package. When I issued the > Get command > > <<myPackage.m > > Mathematica responded with the error message > > Get : : Noopen : Cannot open myPackage.m. > > What am I doing wrong? Does this error message mean it couldn't find the > file "myPackage.m" or that once it found it it couldn't do anything > with it? This message means that Mathematica couldn't find the package, or that the package couldn't be opened (such as if the package is read-protected). The most common reason for this message is a syntax or spelling error in the input to Get or Needs, such as mis-spelling the name of the package. The next most common explanation is that the package isn't in a directory listed in the value of $Path. Problems in these areas can be identified by looking your input, the value of $Path, and the name and location of the package. The context, formatting, and other issues that you mentioned don't become a concern until the package is opened. Dave Withoff Wolfram Research