Re: Problem in loading packages in Mathematica
- To: mathgroup at smc.vnet.net
- Subject: [mg70602] Re: Problem in loading packages in Mathematica
- From: dimmechan at yahoo.com
- Date: Sat, 21 Oct 2006 05:13:36 -0400 (EDT)
- References: <eha5iq$b7f$1@smc.vnet.net>
Amit you did a very common mistake for beginners You use the ( ' ) key instead of the correct (`) key! Try the following command and everything is ok. << Statistics`NormalDistribution` That is the two singles quotes used here are "back quotes" usually found on the same key with ~. They are NOT the single quotes found on the double-quote key. Note that the back-quote character is used to separate the package from the directory name, and at the end in place of .m. See the following link for more information. http://documents.wolfram.com/mathematica/book/section-2.7.9 Following also one of the invaluable suggestions of David Park I recomend you to use the following command in order to load the package. Needs["Statistics'NormalDistribution`"] In this way you avoid conflicts of possible reloading of the package. Regards Dimitris amitsoni.1984 at gmail.com wrote: > Hi, > > I am using the following command to load a package in Mathematica: > << Statistics'NormalDistribution' > > but it gives the following error: > Get::noopen:Cannot open Statistics. More > > Can someone tell me what is the problem? Do I have to download this > package from somewhere or is it inbuilt in Mathematica? > > Thanks > Amit