Displaying 20 results from an estimated 3000 matches similar to: "Segmentation fault in package rJava on CentOS server"
2007 Sep 27
2
rJava and RJDBC
I am desperate for help.
I am trying to get the RJDBC and rJava .5to work on both my windows xp
and linux Redhat EL5 Server. On both I get a
ava.lang.ClassNotFoundException when calling JDBC().
My example is
require(RJDBC)
classPath='C:\\libraries\\mysql-connector-java-5.1.3-rc\\mysql-connector-java-5.1.3-rc-bin.jar'
driverClass=c("com.mysql.jdbc.Driver")
drv <-
2009 Sep 02
1
Installing rJava RJDBC bad interpreter: Permission denied
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 dos2unix in hopes that there is a CRLF
in some of the tar.gz files,
2009 Sep 02
1
Installing rJava RJDBC bad interpreter: Permission denied
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 dos2unix in hopes that there is a CRLF
in some of the tar.gz files,
2009 Aug 26
1
Installing rJava RJDBC bad interpreter: Permission denied
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 dos2unix in hopes that there is a CRLF
in some of the tar.gz files,
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
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
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:
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 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
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
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 Apr 18
1
rJava failed to install in Ubuntu
Hi,
I was trying install rJava package but failed to install with below error:
*trying URL 'https://cloud.r-project.org/src/contrib/rJava_0.9-11.tar.gz
<https://cloud.r-project.org/src/contrib/rJava_0.9-11.tar.gz>'*
*Content type 'application/x-gzip' length 675188 bytes (659 KB)*
*==================================================*
*downloaded 659 KB*
** installing
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
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
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
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
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
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
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
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--