Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

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

Search the Archive

RE: Installing AddOn

  • To: mathgroup at smc.vnet.net
  • Subject: [mg66889] RE: [mg66860] Installing AddOn
  • From: "David Annetts" <davidannetts at aapt.net.au>
  • Date: Fri, 2 Jun 2006 04:09:45 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi John,

> I'm pretty much a novice in Mathematica but have ventured 
> into it because I want to use a Stable Statistics Package 
> from 
> http://www.npgcable.com/~rrimmer/StableCalculation/HTMLLinks/i
> ndex_4.html
> in 5.1.
> I unzipped and installed the AddOn SMath in c:/Wolfram 
> Research/Mathematica/5.1/AddOns/Applications/ as instructed.  
> It should load with the command <<StableDistribution`SMath`
> 
> but the file is not recognized by Mathematica which returns 
> Get::noopen : Cannot open Stable distribution`SMath`
> 
> I checked with $Path and the file SMath.m is in a directory 
> on the path. 
>   So what is the next step.  Not even sure if the file is 
> correct as it seems to be in binary, i.e. the first lines 
> read in Notepad are (*!1N!*)mcm 
> j<mi2X^Ue>E2FtTGjEmi2X^Ue>E2FtTGjEmi2X^Ue>E2FtTGjEmi2X^Ue>E2FtTGjEmi2X
> ^Ue>E2FtTGjEX4*4+5]HauE~i-SJ/_kQNyL<(=NQi"dYNZ'Skk425[0X&lF93l'"9_jYJ5
> BEX2=mcUTP6@oXt~$/27,yoERZ\Q'iG~ V[P]sD[MV18XdLd6`?e(YGbd}9IE<Vf^0"b&-
> l1Vh?'>"<<RZn[aq9h'{9_RApd;esXWUHHN3@DD@i?Ij"y_}d:.1dHG
> 
> which looks like pure binary to me.  Perhaps this is compiled code.

It looks like it has been encrypted to me, although it could have been
generated using DumpSave[].  It is of no consequence.

Although I installed it in
$UserAddOnsDirectory<>"/Applications/StableDistribution", I have no problems
running the package.  

However, I get a Needs::nocont error when I try to load the file using
Needs[] that I do not get when I load the file using Get[] (fresh kernel
between loads).  The reason for this error is that the package does't put
functions in StableDistributions context, rather, puts everything into the
Smath context.  We can see this by asking Mathematica what packages have
been loaded ($Packages).  

This is slightly annoying, since other packages (eg. the standard ones) use
a more hierarchical context (eg. Calculus`VectorAnalysis`), and using such a
structure allows one to have packages in their own subdirectories in
$UserAddOnsDirectory<>"/Applications" rather than as a whole heap of
unrelated packages in a single directory, but ultimately of no consequence.

Regards,

Dave.


  • Prev by Date: Re: Installing AddOn
  • Next by Date: Re: Memory Leak
  • Previous by thread: Re: Installing AddOn
  • Next by thread: Re: Installing AddOn