Sunday, January 17, 2016

java problem for R package installed as sources.


install rJava as sources.

checking Java support in R... present:
interpreter : '/usr/bin/java'
archiver    : '/usr/bin/jar'
compiler    : '/usr/bin/javac'
header prep.: '/usr/bin/javah'
cpp flags   : ''
java libs   : ''
configure: error: One or more Java configuration variables are not set.
Make sure R is configured with full Java support (including JDK). Run
R CMD javareconf
as root to add Java support to R.


http://stackoverflow.com/questions/3311940/r-rjava-package-install-failing
This seems to be a common problem.

I went back to R and choose to install binaries. The installation passed.


No comments:

Post a Comment