Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

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

Search the Archive

Re: Re: Notebooks location

  • To: mathgroup at smc.vnet.net
  • Subject: [mg89580] Re: [mg89550] Re: Notebooks location
  • From: Murray Eisenberg <murray at math.umass.edu>
  • Date: Fri, 13 Jun 2008 06:12:21 -0400 (EDT)
  • Organization: Mathematics & Statistics, Univ. of Mass./Amherst
  • References: <200806110716.DAA14862@smc.vnet.net> <g2qhdo$8kj$1@smc.vnet.net> <200806121029.GAA12657@smc.vnet.net>
  • Reply-to: murray at math.umass.edu

Yes, I know that those environment variables give values to the 
corresponding Mathematica variables.

But that doesn't solve the problem of setting different values of 
$BaseDirectory and $UserBaseDirectory for two different versions of 
Mathematica installed at the same time - without somehow changing the 
corresponding Windows environment variables (manually or with a batch 
file to start Mathematica).

What I was asking about/suggesting was a new feature that would allow 
setting these in the Options Inspector.  (That was what the original 
posting was about.)

Albert Retey wrote:
> Murray Eisenberg wrote:
>> Which reminds me:  What about including some mechanism so that the 
>> following could vary from one Mathematica version to another when more 
>> than one is installed?
>>
>>    $AddOnsDirectory
>>    $UserAddOnsDirectory
>>    $BaseDirectory
>>    $UserBaseDirectory
>>
> 
> It can be done for $BaseDirectory and $UserBaseDirectory:
> 
> The value of $BaseDirectory can be specified by setting the
> MATHEMATICA_BASE operating system environment variable when the
> Mathematica kernel is launched. It cannot be reset from inside the kernel.
> 
> The value of $UserBaseDirectory can be specified by setting the
> MATHEMATICA_USERBASE operating system environment variable when the
> Mathematica kernel is launched. It cannot be reset from inside the kernel.
> 
> $AddOnsDirectory and $UserAddOnsDirectory are undocumented in version 6
> and will be set to $BaseDirectory and $UserBaseDirectory, respectivly,
> at least on my Windows XP with Mathematica 6.0.2.
> 
> hth,
> 
> albert
> 

-- 
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: Show and 6.0
  • Next by Date: Re: Re: Re: snippets
  • Previous by thread: Re: Notebooks location
  • Next by thread: Re: Re: Notebooks location