MathGroup Archive 2005

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

Search the Archive

Re: Defining variables in $UserBaseDirectory/init.m

  • To: mathgroup at
  • Subject: [mg62168] Re: Defining variables in $UserBaseDirectory/init.m
  • From: Bill Rowe <readnewsciv at>
  • Date: Sun, 13 Nov 2005 02:08:49 -0500 (EST)
  • Sender: owner-wri-mathgroup at

On 11/12/05 at 3:33 AM, hattons at (Steven T.
Hatton) wrote:

>Can I define my own variables in the startup init.m file?

Yes. For example in my init.m file I have a the line

$Landscape = 760;

in my init.m file that I use to set the size of plots I intend to have printed in landscape mode.

>I tried by simply putting a variable assignment at the end of the
>file, and the result was that Mathematica erraced the entire contents
>of the file.

"erraced" = "erased"?

Simply adding variables to your init.m file should not cause Mathematica to delete the contents of any file.
To reply via email subtract one hundred and four

  • Prev by Date: Re: Question about passages
  • Next by Date: Re: Plot Angle between Vectors
  • Previous by thread: Defining variables in $UserBaseDirectory/init.m
  • Next by thread: Re: Defining variables in $UserBaseDirectory/init.m