Thanks! import Base.rand
worked. That appears to suggest that I also need to do import Base.mean and median, mode, and everything else. Which seems a bit clunky. Is there a simple way of importing them all at once, or is my workflow all wrong? Thanks again, Harry On Monday, 30 December 2013 16:52:02 UTC, John Myles White wrote: > > Hi Harry, > > Have you tried Base.rand? I think that’s sufficient and won’t raise this > error. > > Welcome to Julia! > > — John > > On Dec 30, 2013, at 11:50 AM, Harry Southworth > <[email protected]<javascript:>> > wrote: > > > Hello. > > > > I'm a total noob to Julia, so please be gentle. > > > > I'm attempting to add a new distribution to the Distributions package. > My intended workflow is to write the functions one by one and test them as > I go along before attempting to build the package. > > > > When attempting to define rand for my new distribution, I get the ERROR > in the subject line. Various attempts at things like "import Random.rand" > have got me nowhere. I'd be grateful of advice on how to proceed. > > > > Thanks, > > Harry > >
