-
Notifications
You must be signed in to change notification settings - Fork 59
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
issues with the package corpcor in R #97
Comments
It is because dot symbol is not a valid char in julia object name, you have to access the
or if you use
I recommend the first method since it is more explicit, the second implicit method may break at some point in the future. |
I just run your code and It kills my Julia section: @Rimport corpcor |
What OS are you using? Does the package |
I am working on linux and yes the package works in R |
Did you build R from source, linking to MKL? EDIT: or does Julia link to MKL? |
I am not sure - I need to find that out from the network administrator |
You should be able to find this out by looking at the output of |
I get: [rszoh@r0:~]$ ldd /local/R-3.2.3/lib64/R/bin/R |
Are you running the revolution R distribution by any chance? |
No, I don't think so |
@rszoh That's not the path I gave you. Note the |
@nalimilan oops sorry. Here is the output: [rszoh@r0:~]$ ldd /local/R-3.2.3/lib64/R/bin/exec/R |
OK, so indeed you're using MKL. No idea what Julia/RCall.jl can do about this. Maybe both R and Julia should use the same BLAS/LAPACK? |
Maybe try running Julia with:
|
Sys.getenv("LD_LIBRARY_PATH") the path you specify is already available in LD_LIBRARY_PATH. Also, when I do what you suggested I get the following errrow in julia: julia> using RCall |
Closing as stale |
Hi,
I am trying to use the package corpcor in R from Julia. See the commands below:
using RCall
@Rimport corpcor as corpcor
@rusing corpcor
when I try to get help on the function imported from corpcor I get:
help?> corpcor.cov.shrink
ERROR: MethodError:
which_module
has no method matching which_module(::Function, ::Symbol)Closest candidates are:
which_module(::Module, ::Symbol)
in call at docs/bindings.jl:8
And of course when I try to use the function cov.shrink, I get:
julia> corpcor.cov.shrink(randn(5,15))
ERROR: type Function has no field shrink
But I am able to work with other R packages without problem.
Thank you
The text was updated successfully, but these errors were encountered: