Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #6306

Re: $UserBaseDirectory

From "Oleksandr Rasputinov" <oleksandr_rasputinov@hmamail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: $UserBaseDirectory
Date 2011-11-09 11:42 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <j9dovt$b86$1@smc.vnet.net> (permalink)
References <j9b6ut$4u3$1@smc.vnet.net>

Show all headers | View raw


On Tue, 08 Nov 2011 12:22:53 -0000, E. Frauendorfer  
<he.frauendorfer@t-online.de> wrote:

> Help for $UserBaseDirectory  gives the following "very helpful"  
> instruction:
>
> The value of $UserBaseDirectory 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.
>
> I would like to know where, when and how to do that.
>
> Thanks EF
>

You should look at your operating system documentation regarding setting  
environment variables. However, briefly:

In Windows, at the command prompt:

set MATHEMATICA_BASE="C:\ProgramData\Mathematica"

In a terminal under Linux (assuming ksh/bash):

export MATHEMATICA_BASE=/usr/share/mathematica

In Mac OS (again assuming bash):

export MATHEMATICA_BASE=/Library/Mathematica

Then start Mathematica from this same command prompt/shell instance using,  
e.g.

Windows:

"C:\Program Files\Wolfram\Mathematica\8.0\Mathematica.exe"

Linux/Mac OS:

Mathematica &

Finally I would like to correct an error above. $UserBaseDirectory is  
associated with the MATHEMATICA_USERBASE environment variable.  
MATHEMATICA_BASE influences $BaseDirectory, not $UserBaseDirectory. The  
usage of either of these is essentially the same but the paths will be  
different.

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

$UserBaseDirectory "E. Frauendorfer" <he.frauendorfer@t-online.de> - 2011-11-08 12:22 +0000
  Re: $UserBaseDirectory David Bailey <dave@removedbailey.co.uk> - 2011-11-09 11:33 +0000
  Re: $UserBaseDirectory "Oleksandr Rasputinov" <oleksandr_rasputinov@hmamail.com> - 2011-11-09 11:42 +0000

csiph-web