Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*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: Re: finding package in ExtraPackages`Enhancements`

  • To: mathgroup at smc.vnet.net
  • Subject: [mg54130] Re: [mg54105] Re: [mg54065] finding package in ExtraPackages`Enhancements`
  • From: DrBob <drbob at bigfoot.com>
  • Date: Fri, 11 Feb 2005 03:33:50 -0500 (EST)
  • References: <200502091427.JAA02776@smc.vnet.net> <opslxwdoz7iz9bcq@monster.ma.dl.cox.net> <200502100747.CAA16694@smc.vnet.net>
  • Reply-to: drbob at bigfoot.com
  • Sender: owner-wri-mathgroup at wolfram.com

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

Sorry, that's actually what I meant to say, but spoke too fast. I didn't notice you weren't using Applications in the directory list already.

I think $Path is the environmental variable you're looking for. You can modify it with statements like:

AppendTo["$Path",directoryName]

and you can put that statement in an Init.m file, of course.

Bobby

On Thu, 10 Feb 2005 02:47:52 -0500 (EST), Murray Eisenberg <murray at math.umass.edu> 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.
>>
>> 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).
>>>
>>
>>
>>
>



-- 
DrBob at bigfoot.com
www.eclecticdreams.net


  • Prev by Date: Re: Newbie question Re: C# and Mathematica via NETLink
  • Next by Date: Re: A nasty 2x2 system of equations?
  • Previous by thread: Re: Re: Re: finding package in ExtraPackages`Enhancements`
  • Next by thread: Re: finding package in ExtraPackages`Enhancements`