MathGroup Archive 2006

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

Search the Archive

Re: Where do I put my own add-on packages?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg65905] Re: Where do I put my own add-on packages?
  • From: Bill Rowe <readnewsciv at earthlink.net>
  • Date: Sat, 22 Apr 2006 04:54:28 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

On 4/21/06 at 1:33 AM, J.A.Solomon at city.ac.uk (Solomon, Joshua)
wrote:

>I suggest that you create a folder in your home directory called
>Mathematica. Then, in the applications folder, ctrl-click the
>Mathematica icon and select Show Package Contents. You'll see five
>more folders. Open Configuration, then Kernel, then init.m. Add
>SetDirectory["Mathematica"]; $Path=Append[$Path,"Mathematica"];

>at the bottom of the cell and Save. That's the way I do it.

This will work. But it has a significant disadvantage in that this method greatly complicates upgrading Mathematica to a new version. If you fail to recall or determine what modifications you've made, they get wiped when copying the new version over.

A way to resolve this is to set up folders in the folder returned by executing

$UserBaseDirectory

Any packages installed there will not get overwritten when upgrading to a new version.

Also, packages installed there will be available to two separate versions of Mathematica should you desire to retain an older version.
--
To reply via email subtract one hundred and four


  • Prev by Date: A bug in ListPlot3D ?
  • Next by Date: Re: How can I solve these simultaneous quadratic equations in Mathemetica?
  • Previous by thread: Re: Where do I put my own add-on packages?
  • Next by thread: Re: Where do I put my own add-on packages?