Re: package loading
- To: mathgroup at smc.vnet.net
- Subject: [mg15164] Re: package loading
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Thu, 17 Dec 1998 00:27:44 -0500
- Organization: Universitaet Leipzig
- References: <754v8m$jfc@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi Don, is the directory of your Borders.m in the $Path list ? If not and say it is in /export/home/russell/Mathematica/Packages You must add AppendTo[$Path,"/export/home/russell/Mathematica/Packages"] On MS-Windows you may have your packages in d:\Mathematica\Packages and the line AppendTo[$Path,"c:\\Mathematica\\Packages"] may help. Hope that helps Jens Don Keefer wrote: > > O Knowers of Mathematica, > > I have written a function to be used as a mapping application and have > wrapped it up nicely in a package, using the general format that is > described in the Mathematica Book. My problem is that when I load > mathematica and try and load the package using Needs or << the package > does not load. The error message I get from Needs is something like: > No open, Context Borders was not created when Needs was called. I have > checked and rechecked my syntax, and the package loads nicely when I > evaluate the cell that contains my funcion. In addition, when I call > Needs, I have made sure to specify the file to look for that contains > the context definition, and I have made sure that the proper > directiories are specified in Path. Suggestions as to the source of the > problem are appreciated. > > J.Russell > ******************************************************** Don > Keefer dkeefer at isgs.uiuc.edu > Groundwater Geology Section 217-244-2786