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: Problem in loading packages in Mathematica

  • To: mathgroup at smc.vnet.net
  • Subject: [mg70655] Re: Problem in loading packages in Mathematica
  • From: Helen Read <hpr at together.net>
  • Date: Sun, 22 Oct 2006 01:19:59 -0400 (EDT)
  • References: <eha5iq$b7f$1@smc.vnet.net> <ehcp0r$sma$1@smc.vnet.net>
  • Reply-to: HPR <read at math.uvm.edu>

dimmechan at yahoo.com wrote:
> 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`
> 
> 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`"]

I believe that in newer versions of Mathematica (certainly 5.x, maybe 
earlier),  loading a package with <<  does exactly the same thing as 
Needs, and there is no problem with loading twice the way there used to 
be. I have had problems getting Needs to work on some systems, and have 
gone over completely to << with no problems whatsoever.

(And oops, look at your typing error in your example of Needs -- you 
made the same mistake you were helping Amit to fix!)

-- 
Helen Read
University of Vermont


  • Prev by Date: Re: Plot3D question
  • Next by Date: Re: Re: "short circuiting" And and Or
  • Previous by thread: RE: Problem in loading packages in Mathematica
  • Next by thread: Re: Re: Problem in loading packages in Mathematica