Displaying 20 results from an estimated 2000 matches similar to: "Makefile vs Makevars vs configure"
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
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
2004 Dec 29
2
help with Rcmd check
I've been working on a package that requires a shared library to be loaded.
I have used the NAMESPACE file to load the library according to:
http://cran.r-project.org/doc/manuals/R-exts.html#Load%20hooks
<http://cran.r-project.org/doc/manuals/R-exts.html#Load%20hooks>
my shared library is "excelpoi.so" hence I have added "useDynLib(excelpoi)"
to my NAMESPACE 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
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
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 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
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
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--
2015 Oct 17
3
R 3.2.2 - make check and install package hang
Hello Everyone,
After trying several ways to compile R 3.2.2 without luck, I?m reaching out for help.
The ?make check? does not hanges for some reason and when
trying to install a package it cannot list the download sites (see below).
What could be the problem?
./configure --enable-R-shlib --enable-BLAS-shlib
hostname = test
uname -m = x86_64
uname -r = 2.6.32-573.7.1.el6.x86_64
uname -s =
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 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
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
2005 Aug 05
1
SJava linux installation problems
Hi:
I am extremely new to linux so bare with the questions. I am trying to
install the SJava package for R on linux (debian).
I issue the R CMD INSTALL SJava_0.68-0.tar.gz and get the following error
Cannot find Java.
Please set your path to include the directory in which the java executable
resides,
or set the environment variable JAVA_HOME before this configure script is
run.
I have
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
2002 Sep 03
1
Bugs in $RHOME/src/library/SJava/src/makefile.win (PR#1977)
Full_Name: Heinz Grimm
Version: R1.5.1
OS: Windows NT
Submission from: (NULL) (195.65.178.178)
Line 11 is:
"DLLLIBS=-L'c:/jdk1.3/lib' -L$(JAVA_HOME)/jre/bin/hotspot...."
should be:
"DLLLIBS=-L$(JAVA_HOME)/lib -L$(JAVA_HOME)/jre/bin/hotspot...."
Line 59 is:
" (cd .. ; ./configure.win $(RHOME))"
should be:
" (cd .. ; sh ./configure.win $(RHOME))"
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
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