Re: finding package in ExtraPackages`Enhancements`
- To: mathgroup at smc.vnet.net
- Subject: [mg54203] Re: finding package in ExtraPackages`Enhancements`
- From: tt at tt.com
- Date: Sun, 13 Feb 2005 00:21:33 -0500 (EST)
- References: <cud86h$34t$1@smc.vnet.net>
- Reply-to: tt at tt.com
- Sender: owner-wri-mathgroup at wolfram.com
As suggested, use the AppendTo[$Path, your_directory] and put in the kernel init.m file. This is where the searching path is defined (you will see where in the init.m file). The kernel init.m file is in the directory: C:\Program Files\Wolfram Research\Mathematica\5.1\Configuration\Kernel\init.m GL On Wed, 9 Feb 2005 14:54:09 +0000 (UTC), Murray Eisenberg <murray at math.umass.edu> wrote: >Various packages suggest they should be installed in subdirectories of >ExtraPackages. For example, Ersek's RootSearch.m, is to be installed in >subdirectory Enhancements of ExtraPackages. > >I keep all such 3rd party add-ons in a directory tree separate from the >Mathematica install directory tree. Namely, in a directory to which >$UserBaseDirectory points. Thus, RootSearch.m is in directory: > > ToFileName[{$UserBaseDirectory, "ExtraPackages", "Enhancements"}] > >Yet still a command such as > > <<Enhancements`RootSearch` > >or > > Needs["Enhancements`RootSearch`"] > >fails to find its target. > >How can I make this work? > >Platform: Mathematica 5.1 for Windows (XP).