Re: Q: About Needs[] and something about Contexts
- To: mathgroup at smc.vnet.net
- Subject: [mg40209] Re: Q: About Needs[] and something about Contexts
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Tue, 25 Mar 2003 14:51:25 -0500 (EST)
- Organization: Universitaet Leipzig
- References: <b5hcqh$m8j$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
- Sender: owner-wri-mathgroup at wolfram.com
Hi, AppendTo[$Path,"D:\\putte\\kelso"] Needs["mypack`"] may help. Regards Jens Peter W wrote: > > If I want to use a package (say mypack.m) in a library not in the > $Path, placed in some arbitrary library say: D:\putte\kelso how do I > tell Mathematica4 using Needs[], to load it? > I have tried lots of combinations e.g. > Needs["D:\\putte\\kelso" , "mypack`" ] etc.... etc.... > And also consulted the help database and the mathematica book. > > I know I can move the package to e.g. ...D:\progs\mma401\AddOns witch is > in the $Path but that is not the issue here. > I use Mathematica4 Win Nt4.0 . > Ideas? > > Best regards > Peter W