Displaying 20 results from an estimated 8000 matches similar to: "rJava and error messages"
2012 Oct 31
2
Snallball, rJava, and R 2.15.1
I just bought a new machine and installed the latest release of R 2.15.1 two
days ago. Loaded libraries yesterday (all reported successful loads).
While running scripts, rJava and Snowball would not load. Here is Snowball
successful install:
> utils:::menuInstallPkgs()
trying URL
'http://cran.cs.wwu.edu/bin/windows/contrib/2.15/Snowball_0.0-8.zip'
Content type
2009 Oct 15
1
Problems with rJava and tm packages
I am looking to do some text analysis using R and have run into some issues
with some of the packages. Im not sure if its my goofy Vista OS or what but
using R 2.8.1 i s relatively successful loading the text but the rJava
package was messed up somehow:
library(tm)
> library(rJava)
Error in if (!nchar(javahome)) stop("JAVA_HOME is not set and could not be
determined from the
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
2012 Apr 17
1
differents behaviour of packages depending on rJava under 32 and 64 bit versions of R 2.14.2
Hi listeRs,
Maybe I have missed something, but I am facing a problem I don't understand
even after reading archives and manuals (…maybe not carefully enough !) :
On my PC (64-bit OS, Intel Xeon CPU , two L5506@2.13 GHz processors, 12 Go
RAM) under Windows 7 SP1,
I run both 32-bit (i386-pc-mingw32/i386) and 64-bit (x86_64-pc-mingw32/x64)
version 2.14.2 (2012-02-29) of R, packages
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
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
2011 Jun 27
3
XLConnect Error
Any ideas of what is happening when I attempt to load XLConnect? I think I
installed everything correctly. I posted what I get when I installed rJava
as well as when I attempted to load rJava directly. Thanks in advance for
any help you can give on this.
library(XLConnect)
Loading required package: XLConnectJars
Loading required package: rJava
Error : .onLoad failed in loadNamespace() for
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
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
2018 Jan 16
2
Packages couldn't load
Dear All,
I have been trying to install Xlsx package in R but i have been getting
this error after the installation. Please can anyone help?
> any(grepl("xlsx",installed.packages()))
[1] TRUE
> library("xlsx")
Loading required package: rJava
Error: package or namespace load failed for ?rJava?:
.onLoad failed in loadNamespace() for 'rJava', details:
call:
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
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
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
2012 Sep 06
1
Package installation errors
Dear Rxperts..
I am trying to install a few packages in R (version 2.14.2) on a *64-bit
Window 7* workstation. Some of the errors are posted below.. Both 32-bit
and 64-bit versions of R were installed. I did not get errors while
installing packages through *32-bit R*, except that it could not update
some of the packages (already installed with 64-bit R)
*A*) When I start *64-bit R (2.14.2)*
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 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--
2018 Jan 16
0
Packages couldn't load
You need to make sure that the rJava package is working.
Consider using the readxl package instead of xlsx.
Best regards,
ir. Thierry Onkelinx
Statisticus / Statistician
Vlaamse Overheid / Government of Flanders
INSTITUUT VOOR NATUUR- EN BOSONDERZOEK / RESEARCH INSTITUTE FOR NATURE
AND FOREST
Team Biometrie & Kwaliteitszorg / Team Biometrics & Quality Assurance
thierry.onkelinx at
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,