rjava

Using the rJava package on Win7 64 bit with R

时光总嘲笑我的痴心妄想 提交于 2019-11-26 00:39:51
问题 I\'m trying to install rJava on a computer with Win 7 64 bit. When I run install.packages(\"rJava\") everything seems to be fine: Installing package(s) into ‘C:/Users/djq/Documents/R/win-library/2.13’ (as ‘lib’ is unspecified) trying URL \'http://software.rc.fas.harvard.edu/mirrors/R/bin/windows/contrib/2.13/rJava_0.9-1.zip\' Content type \'application/zip\' length 654936 bytes (639 Kb) opened URL downloaded 639 Kb package \'rJava\' successfully unpacked and MD5 sums checked The downloaded

R: rJava package install failing

主宰稳场 提交于 2019-11-26 00:27:44
问题 When installing rJava using the install.packages(\"rJava\") command I get the following error: 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 : \'-I/usr/lib/jvm/java-6-sun-1.6.0.20/jre/../include -I/usr/lib/jvm/java-6-sun-1.6.0.20/jre/../include/linux\' java libs : \'-L/usr/lib/jvm/java-6-sun-1.6.0.20/jre/lib/amd64/server -L/usr/lib/jvm/java-6-sun-1.6.0.20/jre/lib/amd64

rJava load error in RStudio/R after “upgrading” to OSX Yosemite

泄露秘密 提交于 2019-11-25 23:05:40
问题 I recently \"upgraded\" from OSX Mountain Lion to Yosemite and from R 3.1.3 to 3.2. Immediately after the upgrade, when I opened R or RStudio I got a pop-up message saying that I needed to install Java 6. In addition, loading rJava or any package that depends on rJava (e.g., xlsx ) caused RStudio to crash (R also crashed when I tried this by opening R.app directly). After trying a few fixes found on Stack Overflow and elsewhere (more details below), I am at a point where loading rJava or any