Displaying 20 results from an estimated 1000 matches similar to: "rJava / RCMD javareconf fails"
2017 Oct 27
1
javareconf issue
Hi,
Wasn't able to see a bug report on this issue yet... Hope I'm not doublng
up.
There seems to be little info around for what "R CMD javareconf" does but
it has some deprecation errors seemingly.
On running cmd in terminal:
Java interpreter : /usr/bin/java
Java version : 9
Java home path : /Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home
Java compiler :
2018 Mar 28
0
R and Java 10 ➜ rJava not able to build
Hi Ista!
Thanks a lot for your support!!
It puzzles me because it?s the first time that something like this happens to me. I?m aware that root and user don?t have the same environmental variables here. However, I don?t know why root chooses Java 9 and my user chooses Java 10. Isn?t Java 10 ready to be used as a root?
It seems that we are going to have to wait until rJava releases a new
2010 Mar 09
1
rJava works on karmic for root but not for user sean
Good afternoon,
A strange one - library(rJava) works for root but not for user sean
On 64-bit Ubuntu 9.10, using R as root (sudo -i), I can say
library(rJava)
and it works fine with no error message of any kind. But logged in as
myself user "sean", it can't start...
sean at SeansPC:~$ R --no-save --vanilla
R version 2.10.1 (2009-12-14)
Copyright (C) 2009 The R Foundation for
2010 Jun 04
1
R Java compile problem
Hi folks: I'm trying to update my JGR and related packages, but run
into a compile problem, that I suspect must be affecting others. I
get this output when compiling rJava, JavaGD, etc.:
##
checking Java support in R... present:
interpreter : '/usr/bin/java'
cpp flags : ''
java libs : '-L/usr/lib/jvm/java-6-openjdk/jre/lib/amd64/server
2018 Mar 28
1
R and Java 10 ➜ rJava not able to build
Hi Jeff!!
I really don?t know if running R CMD javareconf with sudo has posed a problem here, now or in the past. What I know is sometimes it?s the only way to really config it, if I don?t run with sudo, in the end it asks me if I want to overwrite the configuration from root
override rw-r--r-- root/admin for
/usr/local/Cellar/r/3.4.4/lib/R/etc/Makeconf? (y/n [n]) y
override rw-r--r--
2019 Jan 22
0
So nearly there, but can't install rJava
Hi Chris,
> I think the problem may be options setting where R/rJava will look for Java
so I tried:
> > options(java.home="/usr/lib/jvm/java-8-openjdk-amd64/")
This should not be necessary. I would recommend to start a fresh R session in
order to unset this.
> As far as I can see Debian is happy with the setup of java and javac:
>
...
> And I have the full jdk
2012 Apr 12
1
Can't get R to recognize Java for rJava installation
Hi, I am unable to install the package rJava. I tried doing what the output suggests, but it doesn't help. How can I get R to find/recognize my Java installation? I am running R-2.15.0.
waichler at snow> sudo R CMD javareconf
Java interpreter : /usr/bin/java
Java version : 1.6.0_22
Java home path : /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre
Java compiler : /usr/bin/javac
Java
2018 Mar 28
0
R and Java 10 ➜ rJava not able to build
I am not a Mac user, but I do use Linux and I would recommend not running R with sudo unless you are an admin ninja. That defensive practice would render the answer to your question moot.
It is possible that your problem may have started with inappropriate use of sudo in configuring java, but configuring Java is not on-topic here.
--
Sent from my phone. Please excuse my brevity.
On March 27,
2010 Jun 08
1
Trouble compiling Java-based R packages
Hi folks: I guess my earlier posting was too involved, so let me try
to get to the essence of my problem.
I recently tried to compile JGR, rJava, etc. into my updated R.
First, I ran: R CMD javareconf. The output from that tells me that
"JAVA_HOME is not a valid path, ignoring" and the cpp flags are set to
nothing. The javareconf fills most of the variables with references
to
2013 Sep 16
0
JDK not registered
Given:
$JAVA_HOME=~/jdk1.7.0_40
$R_SHELL=/bin/sh
$PATH=$R_HOME/bin:$JAVA_HOME/bin:...
which jar --> ~/jdk1.7.0_40/bin/jar
which javac --> ~/jdk1.7.0_40/bin/javac
which javah --> ~/jdk1.7.0_40/bin/javah
which java --> '', even though there is one in $JAVA_HOME/bin
whereis java -->
java: /bin/java /usr/bin/java /sbin/java /usr/sbin/java /lib/java
/usr/lib/java
2008 Jun 03
1
R-2.7.0 rJava installation failure on x86_64
attempting to install rJava on R-2.7.0, x86_64 platform, config.log shows the
following error:
configure:3880: checking whether JNI programs can be compiled
configure:3898: gcc -m64 -std=gnu99 -o conftest -g -O2
-I/path/to/x86-64-linux/jdk-1.6.0_06/jre/../include conftest.c
-L/path/to/x86-64-linux/jdk-1.6.0_06/jre/lib/amd64/server
-L/path/to/x86-64-linux/jdk-1.6.0_06/jre/lib/amd64
2009 Oct 10
0
rJava downloads but cannot load, (PR#13997)
On 10 October 2009 at 05:40, lmramba at gmail.com wrote:
| > library(rJava)
| Error in library(rJava) : there is no package called 'rJava'
| > install.packages("rJava")
| Warning in install.packages("rJava") :
| argument 'lib' is missing: using '/usr/local/lib/R/site-library'
| --- Please select a CRAN mirror for use in this session ---
| Loading
2009 Jun 19
1
JGR installation errors
I remember JGR installation on SuSE 10.3 as a nightmare that eventually I overcame with JGR designers' help.
I have installed SuSE 11.1, latest R version and am trying to install JGR again.
It is still a nightmare.
I have followed the guidelines on http://jgr.markushelbig.org/JGR_on_Linux.html
I have made sure I have the so R libraries.
I have installed java-1.6.0-sun and its development
2018 Mar 27
7
R and Java 10 ➜ rJava not able to build
Hi!
I?m on macOS 10.13.3 and just installed the new Java 10 using Homebrew Cask. I also have installed R with Homebrew. Everything seems to work fine, however I just get different outputs if I run sudo R CMD javareconf or R CMD javareconf. With sudo I get pointed to Java 9 and without sudo I get pointed to Java 10. I really don?t know why.
Without sudo:
$ R CMD javareconf
2009 Oct 10
0
rJava downloads but cannot load, when I run R as root
> library(rJava)
Error in library(rJava) : there is no package called 'rJava'
> install.packages("rJava")
Warning in install.packages("rJava") :
argument 'lib' is missing: using '/usr/local/lib/R/site-library'
--- Please select a CRAN mirror for use in this session ---
Loading Tcl/Tk interface ... done
trying URL
2009 Oct 10
1
rJava downloads but cannot load, when I run R as root (PR#13994)
> library(rJava)
Error in library(rJava) : there is no package called 'rJava'
> install.packages("rJava")
Warning in install.packages("rJava") :
argument 'lib' is missing: using '/usr/local/lib/R/site-library'
--- Please select a CRAN mirror for use in this session ---
Loading Tcl/Tk interface ... done
trying URL
2009 Jul 14
1
Ubuntu JGR
Hello,
I cannot get JGR installed.
Here is what I have tried so far http://wiki.ubuntuusers.de/R
1. sudo -s # root werden
R CMD javareconf
root at gunnar-laptop:~# R CMD javareconf
Java interpreter : /usr/bin/java
Java version : 1.5.0_18
Java home path : /usr/lib/jvm/java-1.5.0-sun-1.5.0.18/jre
Java compiler : /usr/bin/javac
Java headers gen.: /usr/bin/javah
Java archive
2012 Feb 18
1
help updating package rJava (on ubuntu)
Esteemed useRs and Devs,
Attempts to update package:rJava to the latest version have failed. See
my code and output below.
Notably, as suggested here
http://stackoverflow.com/questions/3311940/r-rjava-package-install-failing
$ sudo apt-get install r-cran-rjava
ran successfully without error or warning, but my rJava package is not
updated, and remains un-updatable...
Greatly appreciate any
2013 Sep 15
0
building R, rJava, & Rserve on Centos without admin privileges (or support)
I am trying to build R on a Centos server without admin privileges (or
support), so I can call R functions from NetLogo models (via the NetLogo
R extension or possibly Rserve), but I'm getting stuck near the end of
make. Any suggestions?
Here's the setup...
$ R_SHELL=/bin/sh
$ R_HOME=~/R-devel
$ cd $R_HOME; ./configure; make
returns
...
begin installing recommended package MASS
2009 Jul 13
1
Ubuntu und R
Hallo Zusammen,
hatte gestern die Schnauze voll von Vista und habe mir daraufhin Ubuntu
installiert. Bin also mit Ubuntu ?berhaupt nicht vertraut.
Nun habe ich ohne Erfolg versucht, R zu installieren.
Soweit ich der Anleitung folgen konnte habe ich es so wie auf
http://wiki.ubuntuusers.de/R gemacht.
Im Terminal kann ich R problemlos starten.
Allerdings bei der Installation von