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: [mg54105] Re: [mg54065] finding package in ExtraPackages`Enhancements`
  • From: Murray Eisenberg <murray at math.umass.edu>
  • Date: Thu, 10 Feb 2005 02:47:52 -0500 (EST)
  • Organization: Mathematics & Statistics, Univ. of Mass./Amherst
  • References: <200502091427.JAA02776@smc.vnet.net> <opslxwdoz7iz9bcq@monster.ma.dl.cox.net>
  • Reply-to: murray at math.umass.edu
  • Sender: owner-wri-mathgroup at wolfram.com

Moving Enhancements to be a direct subdirectory of $UserBaseDirectory 
did NOT work for me!  Neither

   <<Enhancements`RootSearch`

nor

   <<RootSearch`

find RootSearch.m.

One thing that does work is to move Enhancements to be a subdirectory of 
ToFileName[{$UserBaseDirectory, "Applications"}].

But what I was hoping for was some way of setting some environment 
variable, e.g., so that Mathematica would search subdirectories of 
$UserBaseDirectory other than just Applications and its subdirectories.


DrBob wrote:
> Eliminate the "ExtraPackages" layer in the directory structure.
> 
> Bobby
> 
> On Wed, 9 Feb 2005 09:27:48 -0500 (EST), 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).
>>
> 
> 
> 

-- 
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: finding package in ExtraPackages`Enhancements`
  • Next by Date: Re: precision of numbers
  • Previous by thread: Re: finding package in ExtraPackages`Enhancements`
  • Next by thread: Re: Re: finding package in ExtraPackages`Enhancements`