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
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
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
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
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
===
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
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
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
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.
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
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
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
> -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
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
14 matches
Mail list logo