The manual does not mention what packages actually provide: can they
provide a module, several modules or other things as well (it does
mention that they can compile source code for external libraries).
Also, do all packages provide a module of the same name?  Those things
may need some clarification as well (whilst you're at it, thanks!).

On Sat, 2013-12-28 at 18:04, Ivar Nesje wrote:
> First you have to install the package (once) by typing
>
>> Pkg.add("Clustering")
>
> Then you have the files for the Clustering Package on your computer and to 
> load them into your session you have to do either
>
> using Clustering
> or
> import Clustering
>
> If you use import you will have to prefix all calls to the Clustering 
> package by Clustering so that you would use "Clustering.kmeans()"
>
> I tought I would link to 
> http://docs.julialang.org/en/release-0.2/manual/packages/, but 
> unfortunately this is not explained there. I will try to formulate 
> something and submitt a Pull request.
>
> Ivar
>
> kl. 11:41:49 UTC+1 lørdag 28. desember 2013 skrev takabailando følgende:
>>
>> Hi Julia user,
>>
>> I am a newbie to Julia and asking you a very very simple question: how to 
>> actually load installed packages? I am trying to run a clustering algorithm 
>> with the means function available in the Clustering package. But when I 
>> type "kmeans", it returned "kmeans not defined". I am guessing installing 
>> packages isn't enough to run it. I am an R user. and in R i just typed 
>> "library(kmeans)". 
>>
>> Could you please let me know? 
>> Many many many thanks!
>>
>> Taka
>>

Reply via email to