Re: Package won't load after v.7 upgrade
- To: mathgroup at smc.vnet.net
- Subject: [mg102327] Re: [mg102281] Package won't load after v.7 upgrade
- From: "David Park" <djmpark at comcast.net>
- Date: Wed, 5 Aug 2009 05:46:20 -0400 (EDT)
- References: <25352765.1249376717376.JavaMail.root@n11>
Evaluate $UserBaseDirectory There, you should find an Applications folder. (If not create one.) Place your package there. I think this is the preferred place to put packages for single users. Otherwise you might use $BaseDirectory. The old AddOns ExtraPackages is not the right place. With these locations packages and all your other notebooks (which might be in folders other than Applications) will be untouched when you change Mathematica versions. David Park djmpark at comcast.net http://home.comcast.net/~djmpark/ From: Porscha Louise McRobbie [mailto:pmcrobbi at umich.edu] Hello, A few days ago I was able to successfully load and use my own AddOn package using v.6 with Mac OSX. My package is called "integExp.m", and I placed it in a folder I created called "Quantum", located at: /Applications/Mathematica.app/AddOns/ExtraPackages/Quantum To load the package, I used Needs["Quantum`integExp`"] It loaded and ran fine. However, I upgraded to v.7 yesterday, and now using Needs doesn't work, and I get the following nocont and notfound errors: Needs["Quantum`integExp`"] Needs::nocont: Context Quantum`integExp` was not created when Needs was evaluated. ?integExp Information::notfound: Symbol integExp not found. Did something change in v.7 regarding where to place AddOn packages? I've searched previous group posts and the Documentation center with no success. Thanks is advance, Porscha