I am having the same problem with both Julia 0.2.1 and Julia 0.3.0
Specifically, I started with an empty .julia folder, cloned and built the
latest julia source in OSX.
Pkg.status() told me there were no packages installed, do I did
Pkg.add("GLM") which worked fine.
Then I typed 'using GLM' and I got this output:
ERROR: Stats not found
in require at loading.jl:39
in reload_path at loading.jl:144
in _require at loading.jl:59
in require at loading.jl:43
while loading /Users/francisco/.julia/v0.3/GLM/src/GLM.jl, in expression
starting on line 8
I checked out tag v0.2.1 and did the exact same thing, and 'using GLM'
gives me this output:
ERROR: Stats not found
in require at loading.jl:39
in include at boot.jl:238
in include_from_node1 at loading.jl:114
in reload_path at loading.jl:140
in _require at loading.jl:58
in require at loading.jl:46
in include at boot.jl:238
in include_from_node1 at loading.jl:114
in reload_path at loading.jl:140
in _require at loading.jl:58
in require at loading.jl:43
at /Users/francisco/.julia/v0.2/DataFrames/src/DataFrames.jl:5
at /Users/francisco/.julia/v0.2/GLM/src/GLM.jl:1
Is there something I am doing wrong? Also, what is the recommended version
of Julia in which using GLM is expected to work?
Thanks,
- Francisco
On Wednesday, January 15, 2014 8:48:33 AM UTC-8, Corey Sparks wrote:
>
> Dear List,
> I just installed Julia 0.2.0 last night and was trying to get the GLM
> package going, when I try to load it and the RDatasets packages, I get:
>
> julia> using RDatasets, GLM
>
> Warning: could not import Base.foldl into NumericExtensions
>
> Warning: could not import Base.foldr into NumericExtensions
>
> Warning: could not import Base.sum! into NumericExtensions
>
> Warning: could not import Base.maximum! into NumericExtensions
>
> Warning: could not import Base.minimum! into NumericExtensions
>
> Warning: could not import Base.PAIRWISE_SUM_BLOCKSIZE into
> NumericExtensions
>
> ERROR: TernaryFunctor not defined
>
> in include at boot.jl:238
>
> in include_from_node1 at loading.jl:114
>
> in include at boot.jl:238
>
> in include_from_node1 at loading.jl:114
>
> in reload_path at loading.jl:140
>
> in _require at loading.jl:58
>
> in require at loading.jl:43
>
> at /Users/ozd504/.julia/GLM/src/lm.jl:22
>
> at /Users/ozd504/.julia/GLM/src/GLM.jl:76
>
>
> It looks like something in GLM is broken, does anyone have advice on this?
>
> Thank you
>
> Corey
>