Displaying 20 results from an estimated 10000 matches similar to: "Problem in installing rJava from source"
2011 Mar 16
1
rJava software
Hey everyone,
I just saw a demonstration of a model that is built entirely in R that
allows for transportation greenhouse gas related scenario testing and it
used an awesome GUI utilizing iplots, rJava and gWidgets libraries. Very
cool stuff. I am a somewhat seasoned R user but cannot seem to figure out
what rJava needs to run correctly.
I have installed Java but when i load the rJava
2011 Apr 07
1
Problem Installing rJava on MS Win 7 Platform
I''m a new R user and, frankly, this problem has got me stumped.
I''m using the 64 bit version of RGui and followed the installation
instructions on http://www.rforge.net/rJava/
Here is the result:
package ''rJava'' successfully unpacked and MD5 sums checked
> library(rJava)
Error in utils::readRegistry(key, "HLM", 2) :
Registry key
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 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
2017 May 17
2
r-cran-rjava dependencies on debian jesse, library(rJava) fails when default-jre is missing
Hi,
> Le 17 mai 2017 ? 00:42, Dirk Eddelbuettel <edd at debian.org> a ?crit :
>
>
> On 8 May 2017 at 15:39, Vaidotas Zemlys wrote:
> | Hi,
> |
> | Dirk Eddelbuettel advised me to write here. Here is my original letter to him:
> |
> | I would like to enquire about package r-cran-rjava on Debian jesse. It seems that if default-jre package is not installed, but
2009 Apr 30
1
rjava - JDK not found
Hi,
I would like to test the new package RGG (R Gui Generator). This package requires the installation of several other package.
One of them is rJava.
I installed sun-java6-jdk and run the R CMD javareconf but the installation still fails !
Do you have any ideas ?
* Installing *source* package ‘rJava’ ...
checking for gcc... gcc -std=gnu99
checking for C compiler default output file
2017 May 08
3
r-cran-rjava dependencies on debian jesse, library(rJava) fails when default-jre is missing
Hi,
Dirk Eddelbuettel advised me to write here. Here is my original letter to him:
I would like to enquire about package r-cran-rjava on Debian jesse. It seems that if default-jre package is not installed, but openjdk-7-jre is installed, then library(rJava) in R fails. I?ve been bitten by this today and I wonder whether this an issue of mine, or is this a possible bug.
My server admin used
2019 Jan 22
3
So nearly there, but can't install rJava
Thanks Dirk and Enrico,
First clarification: I'm in this mess because I'm trying to run R 3.5.2 within Debian stable (9/"sretch") using the stretch-cran35 repository. That uses and provides r-api-35 but many of the packages depend upon r-api-3. As Johannes said a day or so back, the way around this is to use install.packages() in R to get the packages you want. That leads you
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 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
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 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
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,
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 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
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
2010 Nov 19
1
problems with rJava
Hello, using r-2.12.0 on a Toshiba laptop with Win7
I am trying to install JGR, iut installs OK but when loading, complains about rJava
so I did:
> install.packages("rJava")
Installing package(s) into ?I:\R\cran?
(as ?lib? is unspecified)
trying URL 'http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.12/rJava_0.8-8.zip'
Content type 'application/zip' length
2020 Mar 29
3
status of Java & rJava?
On 29/03/2020 04:07, Simon Urbanek wrote:
> Spencer,
>
> you could argue that Java is dead since Oracle effectively killed it by removing all public downloads, but if you manage to get hold of a Java installation then it works just fine with R. To my best knowledge there has never been an issue if you installed rJava from source. macOS Catalina has made binary distributions impossible
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
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