MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: finding package in ExtraPackages`Enhancements`

  • To: mathgroup at smc.vnet.net
  • Subject: [mg54223] Re: [mg54065] finding package in ExtraPackages`Enhancements`
  • From: Murray Eisenberg <murray at math.umass.edu>
  • Date: Sun, 13 Feb 2005 22:17:11 -0500 (EST)
  • Organization: Mathematics & Statistics, Univ. of Mass./Amherst
  • References: <200502091427.JAA02776@smc.vnet.net> <420A3FF9.9020103@wolfram.com>
  • Reply-to: murray at math.umass.edu
  • Sender: owner-wri-mathgroup at wolfram.com

Rather than move ExtraPackages/Enhancements from my separate AddOns 
directory (outside the $TopDirectory tree), I appended ExtraPackages to 
$Path by an AppendTo statement in ToFileName[{$BaseDirectory, "Kernel"}, 
"init.m"].

Note that I used the Windows system variable MATHEMATICA_BASE to point 
to that separate AddOns directory.  (I did not also set 
MATHEMATICA_USERBASE to point there, since that has the unpleasant side 
effect of the names of all my pallettes in that separate AddOns 
directory appear twice on the Mathematica File > Palettes menu!)

Thanks to all who replied to my original posting.


Igor C. Antonio wrote:
> Murray,
> 
> That's because $UserBaseDirectory\ExtraPackages\Enchancements is not a 
> directory that Mathematica searches through (it's not defined in $Path).
> 
> You should place it in a directory within
> $UserBaseDirectory\Applications\
> 
> ie:
> 
> $UserBaseDirectory\Applications\Enhancements
> 
> Igor C. Antonio
> Wolfram Research, Inc.
> www.wolfram.com
> 
> Murray Eisenberg 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....

-- 
Murray Eisenberg                     murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305


  • Prev by Date: Re: Problem using Evaluate[] inside a Plot command. 5.1
  • Next by Date: Re: VertexStyle determined by List elements
  • Previous by thread: Re: finding package in ExtraPackages`Enhancements`
  • Next by thread: Re: finding package in ExtraPackages`Enhancements`