-
Notifications
You must be signed in to change notification settings - Fork 77
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
Failed to load rcdk because of rJava #291
Comments
Does it work with regular R? It seems to be a problem of your JAVA installation. |
it does not either..
|
Close it now as it is not a radian issue. |
I am sorry that I don't have many experiences with rJava. But I guess you just need to install a native version of Java virtual machine. |
Yeah this line in the error If you need to use Adopt specifically, download x86 R and use that with your AdoptOpenJDK (with a speed penalty). |
Thanks @psobolewskiPhD, I have successfully loaded
|
Hmm. Edit: |
> install.packages(rcdk, type"source")
Error: unexpected string constant in "install.packages(rcdk, type"source""
> install.packages(rcdk, type="source")
Error in install.packages(rcdk, type = "source") :
object 'rcdk' not found
> install.package(rcdk, type="source")
Error in install.package(rcdk, type = "source") :
could not find function "install.package"
> install.packages("rcdk", type="source")
trying URL 'https://cran.ma.imperial.ac.uk/src/contrib/rcdk_3.5.0.tar.gz'
Content type 'application/x-gzip' length 270214 bytes (263 KB)
==================================================
downloaded 263 KB
* installing *source* package ‘rcdk’ ...
** package ‘rcdk’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
sh: line 1: 42816 Trace/BPT trap: 5 R_TESTS= '/Library/Frameworks/R.framework/Resources/bin/R' --no-save --no-restore --no-echo 2>&1 < '/var/folders/t6/qy2rcbdx0g9_fv98q1g48v_h0000gn/T//RtmpxRdKiW/filea73973abd4a4'
ERROR: lazy loading failed for package ‘rcdk’
* removing ‘/Library/Frameworks/R.framework/Versions/4.1-arm64/Resources/library/rcdk’
The downloaded source packages are in
‘/private/var/folders/t6/qy2rcbdx0g9_fv98q1g48v_h0000gn/T/RtmpRx3rbx/downloaded_packages’
Warning message:
In install.packages("rcdk", type = "source") :
installation of package ‘rcdk’ had non-zero exit status seems it does not work, I tried their to install by
but still not success. I think the most problematic is the dependence |
I came across this similar thread therefore I tried
sudo R CMD javareconf
but it does not work for me.the following is my
Sys.info()
and my radian detailsThe text was updated successfully, but these errors were encountered: