Re: Package won't load after v.7 upgrade
- To: mathgroup at smc.vnet.net
- Subject: [mg102315] Re: Package won't load after v.7 upgrade
- From: Porscha Louise McRobbie <pmcrobbi at umich.edu>
- Date: Wed, 5 Aug 2009 05:44:08 -0400 (EDT)
- References: <h58rbr$q3o$1@smc.vnet.net>
Thanks for the info.
However, if I place my package integExp.m in the directory below
(which is what I'd done originally, but since it didn't work I thought
it was wrong), I still get the errors:
Needs["integExp`"]
Needs::nocont: Context integExp` was not created when Needs was evaluated. >=
>
?integExp
Information::notfound: Symbol integExp not found. >>
I do see the correct directory listed with $Path. Any other thoughts?
Quoting David Reiss <dbreiss at gmail.com>:
> Hi,
>
> As a general rule you **never** want to put your applications within
> the Mathematica.app directory. This modifies your Mathematica
> application itself and, when you upgrade your Mathematica version
> everything that you place there will be removed. Rather you want to
> put it in:
>
> ToFileName[{$UserAddOnsDirectory, "Applications"}]
>
> This directory is persistent through upgrades to Mathematica and is
> always contained in $Path.
>
> I hope thei helps.
>
> --David
> http://scientificarts.com/worklife
>
>
>
>
> On Aug 4, 4:26 am, Porscha Louise McRobbie <pmcro... at umich.edu> wrote:
>> I should add to my previous message that I also checked the global
>> variable $Path, and didn't see the path to my AddOn listed there. I
>> tried using
>>
>> Prepend[$Path,"/Applications/Mathematica.app/AddOns/ExtraPackages/Quantum=
"]
>>
>> After which when I type $Path I do see the path to my AddOn. However,
>> it still won't load.
>>
>> Thanks,
>> Porscha
>
>
>
>