Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

Re: finding package in ExtraPackages`Enhancements`

  • To: mathgroup at
  • Subject: [mg54140] Re: finding package in ExtraPackages`Enhancements`
  • From: David <habud at>
  • Date: Fri, 11 Feb 2005 03:34:27 -0500 (EST)
  • References: <> <> <cuf5ij$gnu$>
  • Sender: owner-wri-mathgroup at

Not sure if you already know this, but you need to set a Mathematica 
WinXP environment variable to top level path of your separate 3rd party 
add-ons path. EG,


This can be done under the WinXP "System Properties->Advanced" tab, then 
look at the bottom for the "Environment Variables" button. You'll need 
to restart Mathemetica after applying this new variable.

With this set, Mathematica will search for 3rd-party packages under the 
the path:


Also, if you want a package autoloaded, add the subdirectory "Autoload", eg:


Hope this helps.

Also, your personalized preferences should get stored under 

BTW, I believe WRI's doc's on this are very poorly organized. You can't 
find all this info in one convenient place.

Murray Eisenberg wrote:
> 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.
>>On Wed, 9 Feb 2005 09:27:48 -0500 (EST), Murray Eisenberg 
>><murray at> 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`
>>>   Needs["Enhancements`RootSearch`"]
>>>fails to find its target.
>>>How can I make this work?
>>>Platform: Mathematica 5.1 for Windows (XP).

  • Prev by Date: Re: Re: problem with FindRoot
  • Next by Date: Re: A nasty 2x2 system of equations?
  • Previous by thread: Re: Re: finding package in ExtraPackages`Enhancements`
  • Next by thread: Re: finding package in ExtraPackages`Enhancements`