This site is to serve as my note-book and to effectively communicate with my students and collaborators. Every now and then, a blog may be of interest to other researchers or teachers. Views in this blog are my own. All rights of research results and findings on this blog are reserved. See also http://youtube.com/c/hongqin @hongqin
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.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment