Displaying 20 results from an estimated 5000 matches similar to: "rJava downloads but cannot load, when I run R as root"
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 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
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
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
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
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
2010 Aug 13
1
Installing rJava fails on Gentoo (amd64) with Sun JDK - checking JNI data types... error
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 may
need to use non-standard compiler flags or a different
compiler in order to
2012 Jul 30
0
rJava loading error on hp-ux
Hi all,
When I installed rJava from source, rJava installation was failed with below messges.
$ R CMD INSTALL rJava_0.9-4.tar.gz
.......
.......
.......
gmake[1]: Leaving directory `/tmp/RtmpNwiCae/R.INSTALL4ebb76a3400d/rJava/jri'
installing via 'install.libs.R' to /stat/R-2.15.1/lib/R/library/rJava
** R
** inst
** preparing package for lazy loading
** help
*** installing help
2012 Aug 27
2
littler and rJava
Hello list,
I'm having some difficulty getting rJava to load in littler. Even
after a R CMD javareconf and a reinstall of littler, I get this:
jlaing at xenon:~$ r -e "require(rJava)"
Loading required package: rJava
Loading required package: methods
Error : .onLoad failed in loadNamespace() for 'rJava', details:
call: dyn.load(file, DLLpath = DLLpath, ...)
error: unable
2007 Feb 21
1
Problem with rjava in linux
Hi,
I install rJava in linux. The installation, from source, is ok. But I have
this error on load package.
> library(rJava)
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared
library '/usr/local/lib/R/site-library/rJava/libs/rJava.so':
libjvm.so: cannot open shared object file: No such file or directory
Error: .onLoad failed in
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
2007 Apr 19
1
rJava help
Hi,
I use Redhat Linux for R. Now I am trying to use the rJava library. I
downloaded JRE beta 2 from Sun. I typed
root@~]# R CMD javareconf
Java interpreter : /usr/bin/java
Java version : 1.6.0-beta2
Java home path : /usr/java/jre1.6.0
Java library path:
$(JAVA_HOME)/lib/amd64/server:$(JAVA_HOME)/lib/amd64:$(JAVA_HOME)/../lib/amd64::/usr/java/packages/lib/amd64:/lib:/usr/lib
JNI linker
2013 Mar 21
0
rJava problem on ubuntu
i'm having trouble using rJava on ubuntu 11.10 amd 64-bit.
when i try to source my code that uses rJava, i get the following error:
Error : .onLoad failed in loadNamespace() for 'rJava', details:
call: dyn.load(file, DLLpath = DLLpath, ...)
error: unable to load shared object
'/usr/lib/R/site-library/rJava/libs/rJava.so':
libjvm.so: cannot open shared object file: No
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
2009 Jan 27
1
rJava in R 2.8.1 on Ubuntu 8.10
Hi all
I have problems installing rJava on my system.
######## My system:
> R.version # at R prompt
platform x86_64-pc-linux-gnu
arch x86_64
os linux-gnu
system x86_64, linux-gnu
status
major 2
minor 8.1
year 2008
month 12
day 22
svn rev 47281
language R
version.string R version 2.8.1
2009 Jul 08
2
can't get rJava to install on Linux
Having difficulties getting rJava to install on my Debian Squeeze box.
Perused the R-help list and tried some things that have worked for
others but not for me. Below is the output of my attempted build, R
CMD javareconf -e, and sessionInfo(). Note I tried the R CMD
javareconf also as root, restarted R after each of these, all no help.
* Installing *source* package ?rJava? ...
checking for
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
2009 May 13
0
Segmentation fault in package rJava on CentOS server
Hello,
I just installed rJava on
[root at UG13 ~]# R --version
R version 2.9.0 (2009-04-17)
runing on a
[root at UG13 ~]# cat /etc/redhat-release
CentOS release 5.3 (Final)
This is the output of
[root at UG13 ~]# R CMD javareconf
Java interpreter : /usr/bin/java
Java version : 1.4.2_18
Java home path : /usr/java/j2sdk1.4.2_18/jre
Java compiler : /usr/bin/javac
Java headers gen.:
2012 Mar 20
1
rJava / RCMD javareconf fails
Hi All,
Running R CMD javareconf -e (or R CMD javareconf as root I am rot on my
machines) Fails.
/
[root at penguins1lanalt etc]# R CMD javareconf
Java interpreter : /usr/bin/java
Java version : 1.6.0_30
Java home path : /usr/java/jre1.6.0_30
Java compiler : not present
Java headers gen.:
Java archive tool:
Java library path: