Re: [R] installing rJava

2013-07-30 Thread Yihui Xie
You can install it from Michael Rutter's PPA: sudo apt-add-repository -y ppa:marutter/c2d4u sudo apt-get update sudo apt-get install r-cran-rjava The last time I tried the official Ubuntu repository, rJava still did not work under R 3.0.x (because R 3.0.x requires recompiling all R packages). I'm

Re: [R] installing rJava

2013-07-30 Thread Orvalho Augusto
It is really strange what I see on this output. Your machine is 64 bit (i386) and the libjvm is being compiled to 32 bit (I do not know what could elicit such behavior). Can you try and JDK 6 version? I am on a ubuntu 12.04 64 bit and I have rJava: orvaquim@orvaquimcism:~$ R CMD javareconf -e Jav

Re: [R] Installing rJava from source on Mac

2011-11-24 Thread Prof Brian Ripley
This is not an appropriate topic for R-help (see the posting guide), and it is what R-sig-mac is there for. 'on Mac' is not specific enough: they will need to know your exact OS. But it looks like a path problem. Those tools are part of Xcode, and tools in its path is not being found *when th

Re: [R] Installing rJava fails

2011-03-24 Thread jcheng liu
Dear Orvalho Augusto, Thanks for your response. But we met a new problem. We set as waht you said in the last email and run installing agian. But we got the error: rJava.h:22:17: error: jni.h: No such file or directory. Actually we had found "jni.h" under {JAVA_HOME}/../include and the path had be

Re: [R] Installing rJava fails

2011-03-18 Thread Orvalho Augusto
It seems that you are not alone with that error ( http://stackoverflow.com/questions/3311940/r-rjava-package-install-failing). Defining only JAVA_HOME he would find everything else. Backup your /etc/R before do this. Running the R CMD javareconf is to place variables like this in /etc/R/Makecon

Re: [R] Installing rJava fails

2011-03-18 Thread jcheng liu
Dear Orvalho Augusto, Thank so much for you response! We had run R CMD javareconf -e, and even R CMD javareconf in administrator. Actually, we had install the JDK. And in the output, only the item of JNI cpp flages could not be detected(I listed output below). What does the item mean? What need we

Re: [R] Installing rJava fails

2011-03-18 Thread Orvalho Augusto
Run R CMD javareconf -e as the being suggest by the output. That will try to guess where is Java. Or you can install the JDK_HOME and JAVA_HOME variables. Good luck. Caveman On Fri, Mar 18, 2011 at 4:39 PM, jcheng liu wrote: > Dear all, > Installing rJava fails. The message was listed below.

Re: [R] Installing rJava fails on Gentoo (amd64) with Sun JDK - checking JNI data types... error

2010-09-06 Thread Helgi Tomasson
Try the following: as super-user java-config -L java-config -S (put a number pointing to sun-jdk-1.6) R CMD javareconf export JAVA_HOME=/usr/lib/jvm/sun-jdk-1.6/jre export R_JAVA_LD_LIBRARY_PATH=${JAVA_HOME}/lib/amd64/server: ${JAVA_HOME}/lib/amd64: ${JAVA_HOME}/../lib/amd64::/usr/java/packa

Re: [R] Installing rJava RJDBC bad interpreter: Permission denied

2009-08-26 Thread William Dunlap
> -Original Message- > From: r-help-boun...@r-project.org > [mailto:r-help-boun...@r-project.org] On Behalf Of Matias Silva > Sent: Wednesday, August 26, 2009 7:37 AM > To: r-help@r-project.org > Subject: [R] Installing rJava RJDBC bad interpreter: Permission denied > > Trying to install