|
[Date Index]
[Thread Index]
[Author Index]
Re: path for package
- To: mathgroup at smc.vnet.net
- Subject: [mg70385] Re: path for package
- From: Bill Rowe <readnewsciv at sbcglobal.net>
- Date: Sun, 15 Oct 2006 00:18:49 -0400 (EDT)
On 10/14/06 at 3:07 AM, odneTenakA at gmail.com (Akane Tendo) wrote:
>In which user directory should I put a package .m file to load the
>package? I already tried C:\Documents and
>Settings\Administrator\Local Settings\Application
>Data\Mathematica\Applications but then I load the package and it
>fails.
What do you mean by "load the package and it fails"? Fails to
work as intended after being loaded? If so, there must be a
problem with the package code.
Fails to load? If so, how are you attempting to load the
package? Is the package in a directory along a path stored in
$Path? If the problem is the path to your package is not in
$Path, you could add the path to your package by doing
$Path=Append[$Path,"path to package"];
That is you can put packages where ever you like and they should work.
I find it best to keep packages together in one place. My
preferred location is the directory returned by
$UserBaseDirectory
--
To reply via email subtract one hundred and four
Prev by Date:
Re: how to sum lists of unequal length?
Next by Date:
Re: how to sum lists of unequal length?
Previous by thread:
RE: path for package
Next by thread:
RE: path for package
|