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

[R] installing rJava

2013-07-30 Thread Erin Hodgess
Dear R People: I am trying to install rJava on an Ubuntu 13.04 64 bit system. But the Java part is causing me fits. Here is the code: > install.packages("rJava",depen=TRUE) Installing package into ‘/home/erin/R/x86_64-pc-linux-gnu-library/3.0’ (as ‘lib’ is unspecified) --- Please select a CRAN

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

[R] Installing rJava from source on Mac

2011-11-24 Thread christiaan pauw
Hi Everybody I am trying to install the latest version of JavaGD from source but get the following error. trying URL 'http://cran.za.r-project.org/src/contrib/JavaGD_0.5-4.tar.gz' Content type 'application/x-gzip' length 102242 bytes (99 Kb) opened URL ===

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.

[R] Installing rJava fails

2011-03-18 Thread jcheng liu
Dear all, Installing rJava fails. The message was listed below. I wonder why cpp flag could not be detected, although I had installed. Thanks!!! -Jiacheng R CMD INSTALL rJava_0.9-0.tar.gz * installing to library ‘/data1/mri_researchers/wexler_data/jiacheng/R-2.12.0/library’ * installing *source* p

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

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

2010-08-13 Thread Anthony Staines
Installing rJava fails consistently, whether installed via the command line as below, or through "install.packages( 'rJava' )", and whether 0.84 or 0.85 is used, with the message :- "checking JNI data types... configure: error: One or more JNI types differ from the corresponding native type. You ma

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 den

[R] Installing rJava RJDBC bad interpreter: Permission denied

2009-08-26 Thread Matias Silva
Trying to install the above two packages via the "install.packages("package_name")" command and the "R CMD INSTALL file.tar.gz". I receive the following error either way "sh: ./configure: /bin/sh: bad interpreter: Permission denied". I have tried to chmod and chown permissions and also ran dos2u