RE: RE: Re: Kernel init.m File
- To: mathgroup at smc.vnet.net
- Subject: [mg48239] RE: [mg48221] RE: [mg48179] Re: [mg47975] Kernel init.m File
- From: "DrBob" <drbob at bigfoot.com>
- Date: Wed, 19 May 2004 02:42:17 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
>>There is no AutoLoad directory anywhere in my computer's hard disk.
On my machine, this directory is installed automatically:
C:\Program Files\Wolfram Research\Mathematica\5.0\AddOns\Autoload
IF you don't have such a directory, there's something wrong. FIND IT.
BUT, when I search the hard disk for it, it isn't found. Why? Because
Windows is effing stupid.
Follow Omega's instructions; you don't want to put your own content in
Program Files. If you do, every time you install a new Mathematica version,
you may have to duplicate or move the content, and that will be a hassle.
>> what do you mean "create a Kernel directory"?
Create a directory named Kernel, of course.
From: tgarza01 at prodigy.net.mx [mailto:tgarza01 at prodigy.net.mx]
To: mathgroup at smc.vnet.net
Subject: [mg48239] [mg48221] RE: [mg48179] Re: [mg47975] Kernel init.m File
There is no AutoLoad directory anywhere in my computer's hard disk. What to
do? By the way, what do you mean "create a Kernel directory"?
From: Omega Consulting info at omegaconsultinggroup.com
To: mathgroup at smc.vnet.net
Subject: [mg48239] [mg48221] [mg48179] Re: [mg47975] Kernel init.m File
I don't think it's a good idea to use this file. Instead, evaluate
Inside that directory is an Autoload directory.
Inside that create a directory with any name you like.
Inside that create a Kernel directory.
Inside that create an init.m file with the commands you want.
It will be automatically loaded by the kernel at startup.
On May 4, 2004, at 12:08 AM, Harold Noffke wrote:
> $Version "5.0 for Microsoft Windows  (November 18, 2003)"
> In the ...\5.0\Configuration\Kernel\init.m file, I find the following
> template ...
> (** User Mathematica initialization file **)
> (** Decide how to display graphics on this machine **)
> (* Hide any symbols which are created *)
> $Linked || $ParentLink =!= Null, <<"PSDirect.m",
> Environment["DISPLAY"] =!= $Failed, <<"Motif.m",
> True, <<"Terminal.m"
> It seems to be Wolfram's intent that all user init.m statements
> (functions, blocks, modules, packages, etc.) occure BEFORE the
> Begin["System`Private`"] statement. However, I'm confused over
> whether user init.m statements should be confined to
> ...\Kernel\init.m, whether any damage would be caused by placing them
> after the System`Private statements, or whether the user is permitted
> to create his own init.m file in the $InstallationDirectory (the
> ...\5.0\ directory).
> I've read posts from other users who say they have safely used an
> init.m in their 5.0 directory, but it is not clear from $Path that
> 5.0\init.m will be loaded at startup, because $InstallationDirectory
> does not appear there.
> If 5.0\ were added to $Path, it would load AFTER Kernel\init.m. Would
> this put 5.0\init.m into the scope of Kernel\init.m's System`Private
> statement, and produce umpredicted results?
> Please help me clarify where the user's init.m statements can be
> placed without causing damage or unpredicted results.
The final answer to your Mathematica needs.
mail2web - Check your email from the web at
Prev by Date:
Re: From C/C++ to Mathematica? going the other way?
Next by Date:
Re: From C/C++ to Mathematica?
Previous by thread:
RE: Re: Kernel init.m File
Next by thread:
Re: usage logs from mathlm