RE: Mathematica newbie
- To: mathgroup at smc.vnet.net
- Subject: [mg72609] RE: Mathematica newbie
- From: "JP Azevedo" <azevedo.joaopedro at gmail.com>
- Date: Fri, 12 Jan 2007 05:21:38 -0500 (EST)
- References: <eo4not$mav$1@smc.vnet.net> <45A62359.8080501@gmail.com>
Dear Jean-Marc, Many thanks for your help and the reference! Cheers, JP -----Original Message----- From: Jean-Marc Gulliet [mailto:jeanmarc.gulliet at gmail.com] Sent: Thursday, January 11, 2007 9:45 AM To: JP Azevedo; mathgroup at smc.vnet.net Subject: [mg72609] Re: Mathematica newbie JP Azevedo wrote: > Hello there, > > > I'm new to Mathematica and I'm trying to run a notebook which uses a package > called Merger.m > > > Although this notebook has worked fine a few days ago, today it started to > give me an error message saying: > > <<Merger`Merger` > Get::noopen: Cannot open Merger`Merger` > $Failed > > > > Both files can be downloaded from the page: > > http://www2.owen.vanderbilt.edu/luke.froeb/software/Default.htm > > > Any help to solve this problem will be much appreciated. > Cheers, > JP Hi JP, A package, in this case the file called Merger.m, must be located in a directory within a path expected by Mathematica. In[1]:= $Version (* Just for info *) Out[1]= 5.2 for Microsoft Windows (June 20, 2005) Evaluate the following expression In[2]:= $UserAddOnsDirectory Out[2]= C:\Documents and Settings\Jean-Marc\Application Data\Mathematica Now, with whatever method is available from your operating system, go to the above directory. You should see a directory called "Applications". Within it, create a new directory called "Merger", then copy the file Merger.m into it. In Mathematica again, evaluate the following expressions In[3]:= Needs["Merger`Merger`"] In[4]:= ?Merger --> "This package defines functions used to simulate mergers in differentiated and homogenous product industries. Available functions... <bla bla bla>" At any rates, the following section of the online help is a must read: http://documents.wolfram.com/mathematica/Add-onsLinks/WorkingWithAdd-ons/ HTH, Jean-Marc