MathGroup Archive 2007

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

Search the Archive

RE: How do you set up third party (or your own) packages?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg79771] RE: [mg79607] How do you set up third party (or your own) packages?
  • From: "Jose Luis Gomez" <jose.luis.gomez at itesm.mx>
  • Date: Sat, 4 Aug 2007 05:49:38 -0400 (EDT)
  • References: <200707311005.GAA19726@smc.vnet.net>

Daniel, I have created a tutorial for creating Mathematica add-ons that
might be useful for you to understand the use of packages. The tutorial is
for Mathematica 5.2, but many of the features explained in the tutorial
apply also to Mathematica 6.0 

Here is the tutorial:
http://homepage.cem.itesm.mx/lgomez/createMathematicaAddOn.htm

Hope that helps!
Jose 
Mexico

 

-----Mensaje original-----
De: Daniel Flatin [mailto:dflatin at are_sea_en.com] 
Enviado el: Martes, 31 de Julio de 2007 05:06 a.m.
Para: mathgroup at smc.vnet.net
Asunto: [mg79607] How do you set up third party (or your own) packages?

I am asking this question in all humility on the theory that there is
no stupid question in this forum. My apologies if this is not the case:

How do I use third party packages, or my own for that matter? For a
specific case, I have downloaded some files from mathworld.wolfram.com
and the set of version 6 MathWorldPackages. I want to load
PlaneGeometry.m which in turn has a dependency on
KimberlingCoordinates.m. In my effort to successfully execute the line:

<< MathWorld`PlaneGeometry

I have tried putting selected packages in
~/Libraries/Mathematica/Applications. I have tried modifying $Path using

AppendTo[$Path, =E2=80=A8 ToFileName[{$HomeDirectory, "Documents",
"MathematicaFiles", "MathWorld", =E2=80=A8   "MathWorldPackages"}]]

Neither solution works. The only thing that has proven to work is using
Get[] with the full path name to the file, but this isn't the standard
approach. What doesn't seem to be working for me is adding the
appropriate path to the list of search paths Mathematica uses,
presumably $Path.

Thanks in advance,
Dan




  • Prev by Date: Re: Working with factors of triangular numbers.
  • Next by Date: Re: Integration with non-numeric parameters
  • Previous by thread: Re: How do you set up third party (or your own) packages?
  • Next by thread: Re: How do you set up third party (or your own) packages?