Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #6275 > unrolled thread
| Started by | "E. Frauendorfer" <he.frauendorfer@t-online.de> |
|---|---|
| First post | 2011-11-08 12:22 +0000 |
| Last post | 2011-11-09 11:42 +0000 |
| Articles | 3 — 3 participants |
Back to article view | Back to comp.soft-sys.math.mathematica
$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
| From | "E. Frauendorfer" <he.frauendorfer@t-online.de> |
|---|---|
| Date | 2011-11-08 12:22 +0000 |
| Subject | $UserBaseDirectory |
| Message-ID | <j9b6ut$4u3$1@smc.vnet.net> |
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
[toc] | [next] | [standalone]
| From | David Bailey <dave@removedbailey.co.uk> |
|---|---|
| Date | 2011-11-09 11:33 +0000 |
| Message-ID | <j9doeo$b3e$1@smc.vnet.net> |
| In reply to | #6275 |
On 08/11/2011 12:22, E. Frauendorfer 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 > Are you using Windows? If so, go into the 'Control Panel', open 'System' and press 'Advanced', then 'Environment Variables'. You should then add a new system variable with the name MATHEMATICA_BASE and value equal to the full pathname of a directory that you wish to use for this purpose. I do this myself, as it is more convenient to keep this directory in a fixed place rather than at a location that varies with changes in the OS, etc. David Bailey http://www.dbaileyconsultancy.co.uk
[toc] | [prev] | [next] | [standalone]
| From | "Oleksandr Rasputinov" <oleksandr_rasputinov@hmamail.com> |
|---|---|
| Date | 2011-11-09 11:42 +0000 |
| Message-ID | <j9dovt$b86$1@smc.vnet.net> |
| In reply to | #6275 |
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.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web