Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: UndefVarError: Rmath not defined #513

Closed
reworkhow opened this issue Jul 15, 2016 · 10 comments
Closed

ERROR: UndefVarError: Rmath not defined #513

reworkhow opened this issue Jul 15, 2016 · 10 comments

Comments

@reworkhow
Copy link

Got this error with rand(Chisq(2)) after Pkg.update() today.

I guess this is because StatsFun.jl committed "Use the Rmath package since libRmath is gone in 0.5 (#10)" one day ago.

@ararslan
Copy link
Member

Yes, that change broke all existing versions of Distributions. Once #512 is merged I'll tag a new release which should fix this. I'm hoping to get all of that done ASAP today. Sorry for the inconvenience!

@tpoisot
Copy link

tpoisot commented Jul 15, 2016

The temporary solution is Pkg.add("StatsFuns", v"0.2.2", v"0.3.0")

@ararslan
Copy link
Member

Actually, you should be now be able to run Pkg.update() and it should work as expected.

@tpoisot
Copy link

tpoisot commented Jul 15, 2016

Didn't saw it got downgraded.

@ararslan
Copy link
Member

Yes, StatsFuns v0.3.0 has been temporarily set to Julia 0.5 only.

@bdeonovic
Copy link
Contributor

bdeonovic commented Jul 18, 2016

I'm still getting

ERROR: LoadError: ArgumentError: Rmath not found in path

when I run Pkg.update() I get INFO: No packages to install, update or remove.

Julia Version 0.4.6
Commit 2e358ce (2016-06-19 17:16 UTC)
Platform Info:
  System: Windows (x86_64-w64-mingw32)
  CPU: AMD Phenom(tm) II X6 1055T Processor
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Barcelona)
  LAPACK: libopenblas64_
  LIBM: libopenlibm
  LLVM: libLLVM-3.3
4 required packages:
 - Atom                          0.4.2
 - Distributions                 0.9.0
 - Mamba                         0.9.1
 - StatsFuns                     0.2.2
62 additional packages:
 ...

EDIT: I had to manually add Rmath.jl for some reason (i.e. Pkg.add("Rmath") did the trick)

@ararslan
Copy link
Member

What version of Julia are you on, 0.4? Distributions will have a new tag soon, and once that's available then hopefully this will all be fixed after another Pkg.update().

@bdeonovic
Copy link
Contributor

bdeonovic commented Jul 18, 2016

Thanks for the comment, I just had to add Rmath manually, not sure why the Pkg updator wasn't forcing the add.

@ararslan
Copy link
Member

Probably because you have StatsFuns 0.2.2, and Rmath is only required by StatsFuns 0.3.0. That'd be my guess, anyway.

@bdeonovic
Copy link
Contributor

Well clearly something needed to require it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants