Re: finding package in ExtraPackages`Enhancements`
- To: mathgroup at smc.vnet.net
- Subject: [mg54096] Re: [mg54065] finding package in ExtraPackages`Enhancements`
- From: "David Annetts" <davidannetts at aapt.net.au>
- Date: Thu, 10 Feb 2005 02:47:01 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Hi Murray, > 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? As far as I can tell, you have an incorrect path. My $UserBaseDirectory is In[6]:= FileNames[$UserBaseDirectory<>"\\*"] Out[6]= {C:\Documents and Settings\dwa\Application \ Data\Mathematica\Applications,C:\Documents and Settings\dwa\Application \ Data\Mathematica\Autoload,C:\Documents and Settings\dwa\Application \ Data\Mathematica\FrontEnd,C:\Documents and Settings\dwa\Application \ Data\Mathematica\Kernel,C:\Documents and Settings\dwa\Application \ Data\Mathematica\Licensing,C:\Documents and Settings\dwa\Application \ Data\Mathematica\SystemFiles} Of these, only $UserBaseDirectory<>"\\Applications" is has any packages. You need to put RootSearch in either $UserBaseDirectory<>"\\AddOns\\Enhancements" or $UserBaseDirectory<>"\\Applications\\Enhancements". The introduction to the package says as much. Regards, Dave -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.6 - Release Date: 7/02/2005
- Follow-Ups:
- Re: Re: finding package in ExtraPackages`Enhancements`
- From: Murray Eisenberg <murray@math.umass.edu>
- Re: Re: finding package in ExtraPackages`Enhancements`