Re: [R] rJava woes on Linux Mint 18.3 Sylvia

2018-06-14 Thread J C Nash
Answering my own post. On the particular machine in question, I managed to install rJava after installing (in the OS) libbz2-dev and liblzma-dev. There was a hint of this in the install output, but not as clear as would help a novice. JN __ R-help@r-p

[R] rJava woes on Linux Mint 18.3 Sylvia

2018-06-13 Thread J C Nash
Is anyone else having trouble with installing rJava on Linux Mint under R 3.5? I managed to work around troubles in Bunsenlabs Deuterium (Debian Jessie), but it uses older libraries (openjdk-7). Please contact off-list and I will post information when solution understood, as, looking on the net,

Re: [R] rJava garbage collect

2018-02-06 Thread Benjamin Tyner
Hi Martin, Thanks for providing the reference. In this particular case, it helped me to discover that 13 JVM threads were garbage collecting in parallel, occasionally resulting in a race condition. Setting     options(java.parameters = "-XS:ParallelGCThreads=1") appears to resolve the issue

Re: [R] rJava garbage collect

2018-02-06 Thread Benjamin Tyner
Thanks Jeff; indeed it works:    .jcall("java/lang/System", method = "gc") On 02/05/2018 11:53 PM, Jeff Newmiller wrote: rJava offers a mechanism to call arbitrary methods in Java. Wouldn't you use that mechanism to call whatever you would call if you were programming in Java (e.g. System.gc

Re: [R] rJava garbage collect

2018-02-06 Thread Martin Møller Skarbiniks Pedersen
On 6 February 2018 at 04:34, Benjamin Tyner wrote: > Hi > > Does rJava offer a way to instruct the JVM to perform a garbage collection? Do you really, really need to run the garbage collector? Consider reading: https://stackoverflow.com/questions/5086800/java-garbage-collection Regards Martin

Re: [R] rJava garbage collect

2018-02-05 Thread Jeff Newmiller
rJava offers a mechanism to call arbitrary methods in Java. Wouldn't you use that mechanism to call whatever you would call if you were programming in Java (e.g. System.gc)? -- Sent from my phone. Please excuse my brevity. On February 5, 2018 7:34:17 PM PST, Benjamin Tyner wrote: >Hi > >Does

[R] rJava garbage collect

2018-02-05 Thread Benjamin Tyner
Hi Does rJava offer a way to instruct the JVM to perform a garbage collection? Regards Ben __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R

Re: [R] rJava Broken on Linux + R 3.4

2017-06-25 Thread Jeff Newmiller
I can't think of a more appropriate time to point out that there is an r-sig-debian mailing list that focuses on operating-system-related issues like this. -- Sent from my phone. Please excuse my brevity. On June 25, 2017 6:47:10 PM EDT, Lorenzo Isella wrote: >Dear All, >I think there is some

[R] rJava Broken on Linux + R 3.4

2017-06-25 Thread Lorenzo Isella
Dear All, I think there is something wrong with rJava on any Debian based distribution. I may be wrong, but I experiencing exactly the problems mentioned at https://github.com/amattioc/SDMX/issues/130 and at https://github.com/s-u/rJava/issues/110 A couple of packages (RJSDMX and xlsx) are now

Re: [R] rJava

2017-01-05 Thread tolga . uzuner
Many thanks and will post accordingly. Tolga > On Jan 5, 2017, at 3:08 PM, Jeff Newmiller wrote: > > I would guess that you don't have the Java runtime installed, or that the > wordsize (32 or 64 bit) runtime you have installed is not compatible with the > wordsize of the version of R that you

Re: [R] rJava

2017-01-05 Thread Jeff Newmiller
I would guess that you don't have the Java runtime installed, or that the wordsize (32 or 64 bit) runtime you have installed is not compatible with the wordsize of the version of R that you are using. You really should read and heed the Posting Guide, which mentions things like mentioning your

[R] rJava

2017-01-05 Thread tolga.uzuner
Dear R Users, I am having the following problem with rJava, on a Windows 10 machine with R 3.3.2: > library(rJava) Error : .onLoad failed in loadNamespace() for 'rJava', details: call: fun(libname, pkgname) error: JAVA_HOME cannot be determined from the Registry Error: package or namespace lo

Re: [R] rJava Scientific Linux 6.5 - Can not install

2015-02-03 Thread stephen sefick
I have solved the problem. Here are the steps in case this will help anyone. 1) I downloaded, compiled, and installed latest R sources. 2) made sure I had all of the R development libraries install through packages manager 3) update java jkd 1.6* to java jkd 1.7* 4) ran sudo R CMD javareconf JAVA_

Re: [R] rJava Scientific Linux 6.5 - Can not install

2015-02-02 Thread stephen sefick
Included at the end of this message is the full compiler output. I have installed jre-7 from Oracle; The java-1.7.0-jdk* packages and javacc are installed. It looks like the archiver, header prep., and compiler are missing. I can provide anything else that can help solve my problem. I really apprec

Re: [R] rJava Scientific Linux 6.5 - Can not install

2015-02-02 Thread Jeff Newmiller
Don't know anything about SL but have you installed a Java run time independent of R? --- Jeff NewmillerThe . . Go Live... DCN:Basics: ##.#. ##.#. Live Go...

Re: [R] rJava Scientific Linux 6.5 - Can not install

2015-02-02 Thread Ista Zahn
On Mon, Feb 2, 2015 at 1:39 PM, stephen sefick wrote: > Hello all, > > I am having a problem with installing rJava on SL 6.5. I am having compile > errors when I try to from CRAN using install.packages("XLConnect", repos=" > http://cran.rstudio.com/";). I can provide anything necessary, but I am >

[R] rJava Scientific Linux 6.5 - Can not install

2015-02-02 Thread stephen sefick
Hello all, I am having a problem with installing rJava on SL 6.5. I am having compile errors when I try to from CRAN using install.packages("XLConnect", repos=" http://cran.rstudio.com/";). I can provide anything necessary, but I am unsure what to provide. Thank you for your help in advance. outp

[R] rJava Package

2014-11-26 Thread Krishna Bhargava S K
Hi All, I am a beginner to R. I have installed tried a sample of JRI using Rengine and Rserve. I found normalization and sqrt function in some sample code. Is there any link where there is a list of functions that is provided in R which I can use t

Re: [R] [rJava] RJavaClassLoader and system classloader

2014-09-30 Thread Benoît Thiébault
Thank you very much for your answer. I will look further into R Service Bus. In the meantime, I have posted an issue on GitHub https://github.com/s-u/rJava/issues/32 where I describe a way to reproduce the unexpected behaviour. Kind regards, Ben Le 30 sept. 2014 � 12:23, Mohan Radhakrishnan

Re: [R] [rJava] RJavaClassLoader and system classloader

2014-09-30 Thread Mohan Radhakrishnan
Hi, You could ask the author or post an issue here .( https://github.com/s-u/rJava) I had faced a problem and I got a response from him. In my case I am streaming JVM data and this( http://www.openanalytics.eu/r-service-bus) may be a better idea. I haven't still tried this. Thanks, Mohan

[R] [rJava] RJavaClassLoader and system classloader

2014-09-26 Thread Benoît Thiébault
Hi everyone, I want to call a Java application from R and have encountered some problems with the way rJava deals with the system class loader. To run my application, I use the following R script: > library(rJava) > .jinit() > .jaddClassPath("myApp.jar") > rWrapper <- .jnew("org/test/RWrapper")

Re: [R] rJAVA and JGR doesnot get installed,

2014-08-25 Thread Jeff Newmiller
"What could be the reason" might be that you don't have 64bit Java runtime installed. Either install that, or if you have 32bit Java runtime installed then you could try running the 32 bit version of R. --- Jeff Newmiller

[R] rJAVA and JGR doesnot get installed,

2014-08-25 Thread Girija Kalyani
Im very much new to R-studio. Can anyone answer this. I have installed many packages but this doesnot work. What could be the reason. I want to run Maxent through R Error : .onLoad failed in loadNamespace() for 'rJava', details: call: inDL(x, as.logical(local), as.logical(now), ...) error: una

Re: [R] rJava fail

2014-05-30 Thread Simon Urbanek
On May 30, 2014, at 9:55 AM, Bond, Stephen wrote: > > R version 3.1.0 (2014-04-10) -- "Spring Dance" > Copyright (C) 2014 The R Foundation for Statistical Computing > Platform: i386-w64-mingw32/i386 (32-bit) > >> library(rJava) > Error : .onLoad failed in loadNamespace() for 'rJava', details: >

[R] rJava fail

2014-05-30 Thread Bond, Stephen
R version 3.1.0 (2014-04-10) -- "Spring Dance" Copyright (C) 2014 The R Foundation for Statistical Computing Platform: i386-w64-mingw32/i386 (32-bit) > library(rJava) Error : .onLoad failed in loadNamespace() for 'rJava', details: call: dirname(this$RuntimeLib) error: a character vector argum

[R] rJava not loading on Windows

2014-04-08 Thread Kishan Lachhani
I also have this problem, did you find a solution? [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.htm

Re: [R] rJava works on R-32bit but fails in R 64bit

2014-01-15 Thread Prof Brian Ripley
On 15/01/2014 20:20, Collin Lynch wrote: I'll echo this and expand. Hui it is possible, indeed likely, that you are running a 32bit version of Java. In that case the error may be attributed to a miscommunication between the two. You can check you java version by running "java -version" in the

Re: [R] rJava works on R-32bit but fails in R 64bit

2014-01-15 Thread Collin Lynch
I'll echo this and expand. Hui it is possible, indeed likely, that you are running a 32bit version of Java. In that case the error may be attributed to a miscommunication between the two. You can check you java version by running "java -version" in the command prompt. If it is 64 bit it will te

Re: [R] rJava works on R-32bit but fails in R 64bit

2014-01-14 Thread Jeff Newmiller
Post plain text per the posting guide? Install the 64bit version of the Java Runtime? --- Jeff NewmillerThe . . Go Live... DCN:Basics: ##.#. ##.#. Live Go...

[R] rJava works on R-32bit but fails in R 64bit

2014-01-14 Thread Hui Du
Hi All, I have R 64bit and R-32 bit installed in my windows 7. For 64 bit, the version info is > R.Version() $platform [1] "x86_64-w64-mingw32" $arch [1] "x86_64" $os [1] "mingw32" $system [1] "x86_64, mingw32" $status [1] "" $major [1] "3" $minor [1] "0.2" $year [1] "2013" $month [1] "

Re: [R] rJava problems

2013-12-08 Thread Xiaogang Su
I encountered the same problem a couple of days ago. I found simply re-installing JASA (the 64bit one) would straighten out the Registry entries: http://java.com/en/download/manual.jsp = Xiaogang Su, Ph.D. Associate Professor Department of Mathematical Sciences Univers

Re: [R] rJava problems

2013-12-08 Thread Tolga Uzuner
Thank you Rob. I used to have the 64-bit R also installed, but removed it and did not reinstall it. I also cleared out all rJava.dll files on my computer before reinstalling R fresh. I am running R through Rgui, not Rstudio. I will post RVersion data later once I return to my PC, apologies. Se

Re: [R] rJava problems

2013-12-08 Thread Robert Baer
You don't really provide enough information like R.Version() but my guess is that you are running 64-bit R either directly or through R Studio but that you have only 32-bit Java installed. I am doing fine on Windows with Java 7 update 45 but had some 64-bit run issues with only Java 7 updat

Re: [R] rJava problems

2013-12-08 Thread patrick . toche
same problem I'm having... https://groups.google.com/forum/#!topic/shiny-discuss/ivJzaaUIZcQ On Sunday, December 8, 2013 10:55:02 PM UTC+8, neo wrote: > > A small follow-on to this: I uninstalled the package, restarted my > machine, and reinstalled the package. Now, when I try and load the >

Re: [R] rJava problems

2013-12-08 Thread Tolga Uzuner
A small follow-on to this: I uninstalled the package, restarted my machine, and reinstalled the package. Now, when I try and load the package, I get an entirely different error message: > library("rJava") Error : .onLoad failed in loadNamespace() for 'rJava', details: call: inDL(x, as.logical

[R] rJava problems

2013-12-08 Thread Tolga Uzuner
Dear R Users Have run into a problem with the rJava package recently. I do not seem to be able to load the package. I am on R 3.0.2 and updated the rJava package this morning from the Pennsylvania mirrors. I get the following error: package ‘mnormt’ successfully unpacked and MD5 sums che

Re: [R] rjava be-carefuls

2013-10-14 Thread Joe W. Byers
Hurr, You have not given us much to help with here. You might try posting a specific problem here or on rosuda-devel users group, the developer group for rjava and other omegahat projects. Otherwise, start programming and see what work. I am trying to get Jsoup and/or htmlunit to work with

Re: [R] rjava be-carefuls

2013-10-14 Thread Hurr
No answers in the three days. Does anyone use rjava? If no one uses it, then I am afraid to try. Or is it extremely easy? -- View this message in context: http://r.789695.n4.nabble.com/rjava-be-carefuls-tp4678102p4678201.html Sent from the R help mailing list archive at Nabble.com. __

[R] rjava be-carefuls

2013-10-11 Thread Hurr
I have a java class with routines (and their tests) that I would like to use in R so I don't have to have two copies of important subroutines. I have looked at rjava, but can't grasp it all and don't know what are the important items to observe first so I don't get into too much trouble later. I

Re: [R] rJava does not see the htmlunit java package

2013-10-02 Thread Joe Byers
Joe Byers aim.com> writes: Sorry I forgot a subject. This thread is for rJava not seeing the htmlunit java package __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.o

[R] rJava segmentation fault

2013-08-27 Thread Frades Iciar
Dear All, I have installed rJava as root sudo -i then R CMD javareconf Exit R CMD INSTALL -l /home/itziar/R/x86_64-pc-linux-gnu-library/3.0 rJava_0.9-4.tar.gz And it was correctly installed. But now when launching R I get a segmentation fault (core dumped) Can anyone help, please? Regards, Itziar

Re: [R] rJava is not loading

2013-06-07 Thread Dimitri Liakhovitski
Thanks again, Brian. Indeed, I had Java for 32 bits. Replaced it and rJava is working now. On Thu, Jun 6, 2013 at 10:58 AM, Prof Brian Ripley wrote: > On 06/06/2013 15:52, Dimitri Liakhovitski wrote: > >> Thank you very much, Brian. >> It's clearly christal clear - but one needs a christal ball

Re: [R] rJava is not loading

2013-06-06 Thread Prof Brian Ripley
On 06/06/2013 15:52, Dimitri Liakhovitski wrote: Thank you very much, Brian. It's clearly christal clear - but one needs a christal ball to realize that! :-) So I learned: architecture = bitness On current Windows, yes. But not on OS X nor Linux nor Solaris nor FreeBSD It indicates the ty

Re: [R] rJava is not loading

2013-06-06 Thread Dimitri Liakhovitski
Thank you very much, Brian. It's clearly christal clear - but one needs a christal ball to realize that! :-) So I learned: architecture = bitness Dimitri On Thu, Jun 6, 2013 at 2:19 AM, Prof Brian Ripley wrote: > On 06/06/2013 00:38, Dimitri Liakhovitski wrote: > >> Hello! >> I installed rJa

Re: [R] rJava is not loading

2013-06-05 Thread Prof Brian Ripley
On 06/06/2013 00:38, Dimitri Liakhovitski wrote: Hello! I installed rJava and am trying to load it. library(rJava) Error : .onLoad failed in loadNamespace() for 'rJava', details: call: fun(libname, pkgname) error: No CurrentVersion entry in Software/JavaSoft registry! Try re-installing Ja

[R] rJava is not loading

2013-06-05 Thread Dimitri Liakhovitski
Hello! I installed rJava and am trying to load it. library(rJava) Error : .onLoad failed in loadNamespace() for 'rJava', details: call: fun(libname, pkgname) error: No CurrentVersion entry in Software/JavaSoft registry! Try re-installing Java and make sure R and Java have matching architectur

[R] rJava problem on ubuntu

2013-03-21 Thread Todd Kaplan
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

Re: [R] rJava works with 32-bit but not 64

2013-02-06 Thread Robert Baer
For what it is worth Spencer, I can start rJava in both 32-bit R and 64-bit R for Windows 7. [And could even before Simon fixed the error message). And yes, I have both 32-bit Java and 64-bit Java 1.7.0_13 installed. They should be separate entries under your control panel. Rob -- Robert

Re: [R] rJava works with 32-bit but not 64

2013-02-05 Thread Simon Urbanek
On Feb 5, 2013, at 5:51 PM, Spencer Graves wrote: > On 2/4/2013 3:55 PM, Simon Urbanek wrote: >> On Feb 4, 2013, at 7:14 PM, Spencer Graves wrote: >> >>> On 2/4/2013 7:03 AM, Simon Urbanek wrote: On Feb 4, 2013, at 10:27 AM, Spencer Graves wrote: > On 2/4/2013 5:22 AM, Milan Bouch

Re: [R] rJava works with 32-bit but not 64

2013-02-05 Thread Spencer Graves
On 2/4/2013 3:55 PM, Simon Urbanek wrote: On Feb 4, 2013, at 7:14 PM, Spencer Graves wrote: On 2/4/2013 7:03 AM, Simon Urbanek wrote: On Feb 4, 2013, at 10:27 AM, Spencer Graves wrote: On 2/4/2013 5:22 AM, Milan Bouchet-Valat wrote: Le lundi 04 février 2013 à 08:19 -0400, Simon Urbanek a éc

Re: [R] rJava works with 32-bit but not 64

2013-02-04 Thread Simon Urbanek
On Feb 4, 2013, at 7:14 PM, Spencer Graves wrote: > On 2/4/2013 7:03 AM, Simon Urbanek wrote: >> On Feb 4, 2013, at 10:27 AM, Spencer Graves wrote: >> >>> On 2/4/2013 5:22 AM, Milan Bouchet-Valat wrote: Le lundi 04 février 2013 à 08:19 -0400, Simon Urbanek a écrit : > On Feb 4, 2013, at

Re: [R] rJava works with 32-bit but not 64

2013-02-04 Thread Spencer Graves
On 2/4/2013 7:03 AM, Simon Urbanek wrote: On Feb 4, 2013, at 10:27 AM, Spencer Graves wrote: On 2/4/2013 5:22 AM, Milan Bouchet-Valat wrote: Le lundi 04 février 2013 à 08:19 -0400, Simon Urbanek a écrit : On Feb 4, 2013, at 6:33 AM, Spencer Graves wrote: On 2/3/2013 11:21 PM, Pascal Oettli

Re: [R] rJava works with 32-bit but not 64

2013-02-04 Thread Robert Baer
> Is it feasible to have both installed in a way that allows the each version of R to select its own version of Java? A comment on stackoverflow suggests that may not be easy (http://stackoverflow.com/questions/5272216/is-it-possible-to-install-both-32bit-and-64bit-java-on-windows-7). On

Re: [R] rJava works with 32-bit but not 64

2013-02-04 Thread Simon Urbanek
On Feb 4, 2013, at 10:27 AM, Spencer Graves wrote: > On 2/4/2013 5:22 AM, Milan Bouchet-Valat wrote: >> Le lundi 04 février 2013 à 08:19 -0400, Simon Urbanek a écrit : >>> On Feb 4, 2013, at 6:33 AM, Spencer Graves wrote: >>> On 2/3/2013 11:21 PM, Pascal Oettli wrote: > Hello, > >>>

Re: [R] rJava works with 32-bit but not 64

2013-02-04 Thread Spencer Graves
On 2/4/2013 5:22 AM, Milan Bouchet-Valat wrote: Le lundi 04 février 2013 à 08:19 -0400, Simon Urbanek a écrit : On Feb 4, 2013, at 6:33 AM, Spencer Graves wrote: On 2/3/2013 11:21 PM, Pascal Oettli wrote: Hello, Do you have a 64-bit version of Java? rJava says to you: call: stop("No Current

Re: [R] rJava works with 32-bit but not 64

2013-02-04 Thread Spencer Graves
On 2/3/2013 11:21 PM, Pascal Oettli wrote: Hello, Do you have a 64-bit version of Java? rJava says to you: call: stop("No CurrentVersion entry in '", key, "'! Try re-installing Java and make sure R and Java have matching architectures.") I think I probably have a 32-bit version and not

Re: [R] rJava works with 32-bit but not 64

2013-02-04 Thread Milan Bouchet-Valat
Le lundi 04 février 2013 à 08:19 -0400, Simon Urbanek a écrit : > On Feb 4, 2013, at 6:33 AM, Spencer Graves wrote: > > > On 2/3/2013 11:21 PM, Pascal Oettli wrote: > >> Hello, > >> > >> Do you have a 64-bit version of Java? > >> > >> rJava says to you: > >> call: stop("No CurrentVersion entry i

Re: [R] rJava works with 32-bit but not 64

2013-02-04 Thread Simon Urbanek
On Feb 4, 2013, at 6:33 AM, Spencer Graves wrote: > On 2/3/2013 11:21 PM, Pascal Oettli wrote: >> Hello, >> >> Do you have a 64-bit version of Java? >> >> rJava says to you: >> call: stop("No CurrentVersion entry in '", key, "'! Try re-installing Java >> and make sure R and Java have matching

Re: [R] rJava works with 32-bit but not 64

2013-02-03 Thread Pascal Oettli
Hello, Do you have a 64-bit version of Java? rJava says to you: call: stop("No CurrentVersion entry in '", key, "'! Try re-installing Java and make sure R and Java have matching architectures.") Regards, Pascal Le 04/02/2013 14:27, Spencer Graves a écrit : Hello: rJava works for m

[R] rJava works with 32-bit but not 64

2013-02-03 Thread Spencer Graves
Hello: rJava works for me under 32-bit but under not 64-bit R; see below. Suggestions? Thanks, Spencer > library(rJava) Error : .onLoad failed in loadNamespace() for 'rJava', details: call: stop("No CurrentVersion entry in '", key, "'! Try re-installing Java and ma

Re: [R] rJava Error

2013-01-09 Thread Simon Urbanek
On Jun 27, 2012, at 12:16 AM, fabin.ittiachan wrote: > Hi, > > I'm receiving an error when I am trying to install rJava. I have posted the > error below. > Your R was not compiled with --enable-R-shlib so you can't use JRI (see http://rforge.net/rJava). You can either disable JRI (if you don't

[R] rJava not loading on Windows

2012-11-07 Thread Henrik Bengtsson
Hi, I've successfully used it on a Linux setup, but when I try to load rJava on Windows 7 64-bit (session info below) I get: % R --vanilla > library("rJava") Error : .onLoad failed in loadNamespace() for 'rJava', details: call: dirname(this$RuntimeLib) error: a character vector argument expec

Re: [R] rJava Out of Memory Error

2012-11-01 Thread Martin Studer
Hi Matthew, The problem is that the underlying JVM is running with a fixed maximum heap size. When you load a workbook in XLConnect, an in-memory representation of that workbook is created (in Java by Apache POI). Reading and writing data additionally requires memory due to "communication" of your

[R] rJava Out of Memory Error

2012-10-30 Thread scoyoc
I'm running XLConnect 0.2-1 that depends on rJava 0.9-3. I am only able to work with 2 workbooks before I get this error... > SppRich = wb["SpeciesRichness"] # This command calls an Excel > spreadsheet Error: OutOfMemoryError (Java): GC overhead limit exceeded I have tried... > rm(list = ls(

Re: [R] rJava install - "%1 is not a valid Win32 application."

2012-10-24 Thread David Stevens
Hello all. Steven's approach didn't work for me. I'm running 64 bit R > R.Version() $platform [1] "x86_64-pc-mingw32" $arch [1] "x86_64" $os [1] "mingw32" $system [1] "x86_64, mingw32" and downloaded and installed the 64 bit version of Java directly from Oracle. I then tried to load the rJa

Re: [R] rJava install - "%1 is not a valid Win32 application."

2012-10-16 Thread Steven Ranney
Thanks for the information, Simon. I had both the 64-bit version of R and the 64-bit Windows 7, but not the 64-bit version of Java. Now that I've downloaded the proper version of Java, the problem has been solved. Thanks - SR Steven H. Ranney On Mon, Oct 15, 2012 at 5:12 PM, Simon Knapp wro

Re: [R] rJava install - "%1 is not a valid Win32 application."

2012-10-15 Thread Simon Knapp
My guess would be that your running the 32 bit version of R - and rJava is looking for the 64 bit dll. I'd suggest starting the 64 bit version of R explicitly (e.g. the 64 bit version of Rgui lives at /bin/x64/Rgui.exe, whereas the 32 bit version lives at /bin/i386/Rgui.exe). On Tue, Oct 16, 2012

[R] rJava install - "%1 is not a valid Win32 application."

2012-10-15 Thread Steven Ranney
All – I’m having a problem with the rJava package. I can download it to my machine (Win 7 64-bit) but when I try to load the package into R (2.15.1, 64-bit version), I get the following error: > require(rJava) Loading required package: rJava Error : .onLoad failed in loadNamespace() for 'rJ

[R] rJava loading error on hp-ux

2012-07-29 Thread 안대영
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/libr

[R] rJava Error

2012-06-26 Thread fabin.ittiachan
Hi, I'm receiving an error when I am trying to install rJava. I have posted the error below. RHive_0.0-6.tar.gz rJava_0.9-3.tar.gz RJDBC_0.2-0.tar.gz Rserve_0.6-8.tar.gz [root@localhost Package]# R CMD INSTALL rJava_0.9-3.tar.gz * installing to library ‘/usr/local/lib64/R/library’ * installin

[R] RJava: Error obtaining System.out

2012-06-07 Thread Oliver Ruebenacker
Hello, Any idea why trying to obtain System.out in rJava does not work? > library(rJava) > .jinit() > s <- .jnew("java/lang/String", "Hello World!") > .jcall(s,"I","length") [1] 12 > systemOut <- .jfield("java/lang/System", "Ljava/io/PrintStream", "out") Error in .jfield("java/lang/System"

[R] Rjava on Ubuntu quantal

2012-05-14 Thread Hasan Diwan
I just upgraded to Ubuntu Quantal from Precise and RJava stopped working, log follows: 0}% /usr/bin/find $HOME/workspace/FinanceOCR/visualizations/ -name '*R' -print | /usr/bin/xargs -n 1 -i% /usr/bin/Rscript % $1 [~] Loading required package: RJDBC Loading required package: methods Loading require

Re: [R] rJava / RCMD javareconf fails

2012-03-21 Thread st0ut717
solved grrr I had to set JAVA_HOME to point to the jdk directory not the parent. This had to be done as root not user otherwise the rJava is fails. At the end of the day its installed. -- View this message in context: http://r.789695.n4.nabble.com/rJava-RCMD-javareconf-fails-tp4488961p44

[R] rJava / RCMD javareconf fails

2012-03-20 Thread st0ut717
Hi All, Running R CMD javareconf -e (or R CMD javareconf as root I am rot on my machines) Fails. / [root@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.:

Re: [R] rJava call performance

2012-03-16 Thread Dmitriy Lyubimov
Another question: how do I ensure rJava is bytecode-compiled? I seem to re-install the package with setting compilePKGS(T) before i install it again, but most of rJava functions however seem to come back still as not bytecode-compiled. Thank you in advance. -dmitriy On Fri, Mar 16, 2012 at 3:48 P

Re: [R] rJava call performance

2012-03-16 Thread Dmitriy Lyubimov
The "low level" seems to be much-much better though... not sure why the difference would be so fundamental... f <- function() system.time( for( i in 1:1000) .jcall("java/lang/Math", returnSig="D", "abs", as.numeric(i) ) ) > f() user system elapsed 0.080 0.000 0.083 On Fri, Mar 16, 2012

Re: [R] rJava call performance

2012-03-16 Thread Dmitriy Lyubimov
PS caching reference to the class doesn't change anything fundamentally: clazz <- J("java.lang.Double") system.time( for( i in 1:1000) clazz$ parseDouble(as.character(i))) user system elapsed 3.788 0.000 3.790 Java parsing is slow??? nope, still looking pretty appalling for what it does

[R] rJava call performance

2012-03-16 Thread Dmitriy Lyubimov
Hello, I am getting pretty poor rJava call performance > system.time(for (i in 1:1000) > J("java.lang.Double")$parseDouble(as.character(i))) user system elapsed 4.884 0.000 4.900 i.e. 5 milliseconds per very simple call on a very fast cpu. JNI calls themselves are said to be pretty

Re: [R] RJava help

2012-02-25 Thread jesslim
i saw an example in http://www.mail-archive.com/r-help@stat.math.ethz.ch/msg76159.html but an error occur Error in .jcall(“my_convolve”, “[D”, “convolve”, x, y) : RcallMethod: cannot determine object class because the directory of classpath? -- View this message in context: http://r.789695.n4.n

Re: [R] RJava help

2012-02-25 Thread jesslim
u get the solution? if yes, please share it. i face same problem too -- View this message in context: http://r.789695.n4.nabble.com/RJava-help-tp2995886p4419945.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org maili

[R] rJava load failure, 64-bit R, 64-bit Java, R 2.14.1 (works fine on R 2.12.2 64-bit, same computer)

2012-02-07 Thread Strunk, Jacob
Hello R users, I have encountered difficulty in attempting to load the package "rJava" for 64-bit R 2.14.1. It appears that the problem is specific (for my system) to this version of R. I had no trouble loading rJava on an earlier version (2.12.2) of R. N:\>java -version java version "1.6.0_25

Re: [R] rjava on FreeBSD

2012-01-11 Thread Rainer Hurling
On 11.01.2012 22:51 (UTC+1), Hasan Diwan wrote: Trying to install Rjava on FreeBSD 9 and am getting the following error: install.packages('rJava') trying URL 'http://cran.cnr.Berkeley.edu/src/contrib/rJava_0.9-3.tar.gz' Content type 'application/x-gzip' length 537153 bytes (524 Kb) opened URL =

[R] rjava on FreeBSD

2012-01-11 Thread Hasan Diwan
Trying to install Rjava on FreeBSD 9 and am getting the following error: > install.packages('rJava') trying URL 'http://cran.cnr.Berkeley.edu/src/contrib/rJava_0.9-3.tar.gz' Content type 'application/x-gzip' length 537153 bytes (524 Kb) opened URL ==

Re: [R] rJava and JRI

2011-12-29 Thread Uwe Ligges
See http://www.rforge.net/rJava/ and http://www.rforge.net/JRI/ Uwe Ligges On 29.12.2011 07:46, PermataRussiana wrote: Dear All, I am writing R code and I want to interface with JAVA using netbeans. I want to call R from JAVA. What i should pick?rJAVA or JRI? and can someone provide m

[R] rJava and JRI

2011-12-28 Thread PermataRussiana
Dear All, I am writing R code and I want to interface with JAVA using netbeans. I want to call R from JAVA. What i should pick?rJAVA or JRI? and can someone provide me step-by-step to installing and code for connecting to R. As i am using path analysis. Is it possible to use? Thank you in ad

[R] rJava and multicore

2011-11-20 Thread James McCreight
Hello MasteRs- Because I want to parallelize several calls to the glmulti package, what I'm essentially doing is trying to parallelize different calls to rJava. I'm using plyr functions which use foreach and then doMC which means multicore is my backend for parallelizing. I've tried several appro

Re: [R] rJava .jinit() : Cannot create Java virtual machine (-1)

2011-11-13 Thread ahwangyuwei
Hi, I have the same problem in R, and I want to ask you that how to solve the problem. Thank you very much. Wang 2011-11-14 ahwangyuwei [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman

[R] RJava

2011-10-28 Thread bdeepthi
Hello All, I have successfully installed rJava. I have written a sample code in java to check how it runs. the code successfully compiled. to compile i used javac --classpath /home/deepthi/R/x86_64-unknown-linux-gnu-library/2.13/rJava/jri/JRI.jar:/home/deepthi/R/x86_64-unknown-linux-gnu-library/

Re: [R] rJava Installation Problems: 'cannot open compressed file 'rJava/DESCRIPTION', probable reason 'No such file or directory''

2011-09-03 Thread Uwe Ligges
Your internet connection is flaky, your first try just downloaded half the package, on the second try you got almost nothing (your output says 2519 bytes). So this is your connection rather than R or rJava. Uwe Ligges On 01.09.2011 15:37, R. Michael Weylandt wrote: Good Morning, I'm t

[R] rJava Installation Problems: 'cannot open compressed file 'rJava/DESCRIPTION', probable reason 'No such file or directory''

2011-09-01 Thread R. Michael Weylandt
Good Morning, I'm trying to install the rJava package on a local (work) machine and having some trouble. The following occurred in an RGui session. > sessionInfo() R version 2.13.0 (2011-04-13) Platform: i386-pc-mingw32/i386 (32-bit) locale: [1] LC_COLLATE=English_United States.1252 LC_CTYPE=E

Re: [R] rJava and error messages

2011-08-16 Thread Uwe Ligges
Install an appropriate version of Java that fits to your R installation (i.e. 64-bit Java for 64-bit R and so o, but you have not told us any details as the psoting guide asks you to do). Uwe Ligges On 16.08.2011 01:40, Phil Schnarrs wrote: Hello All, I'm trying to load the rJava package

[R] rJava and error messages

2011-08-15 Thread Phil Schnarrs
Hello All, I'm trying to load the rJava package and every time I do I receive this error message: Error : .onLoad failed in loadNamespace() for 'rJava', details: call: fun(...) error: JAVA_HOME cannot be determined from the Registry Error: package/namespace load failed for 'rJava' Can anyo

Re: [R] rJava on Debian squeeze (or other versions of Linux)?

2011-08-06 Thread Barnet Wagman
(Dirk: I mistakenly sent this to you directly: I meant to post it to R help. Sorry) On 8/6/11 8:16 AM, Dirk Eddelbuettel wrote: a) Did you try 'sudo apt-get install r-cran-rjava' ? This is after all packaged in Debian b) The Debian rjava package has 'openjdk-6-jdk' in its Build-Depends,

Re: [R] rJava on Debian squeeze (or other versions of Linux)?

2011-08-06 Thread Barnet Wagman
On 8/6/11 9:37 AM, Dirk Eddelbuettel wrote: | I'm going to be using rJava as part of a package I'm developing, so I | need to be able to install it in a more generic way than the Debian Care to define "more generic way than Debian" ? ^ I mean: (i) Install Java from Oracle (ii) run R CMD javare

Re: [R] rJava on Debian squeeze (or other versions of Linux)?

2011-08-06 Thread Barnet Wagman
On 8/6/11 9:37 AM, Dirk Eddelbuettel wrote: | I'm going to be using rJava as part of a package I'm developing, so I | need to be able to install it in a more generic way than the Debian Care to define "more generic way than Debian" ? ^ I mean: (i) Install Java from Oracle (ii) run R CMD javare

Re: [R] rJava on Debian squeeze (or other versions of Linux)?

2011-08-06 Thread Barnet Wagman
(Dirk: I mistakenly sent this to you directly: I meant to post it to R help. Sorry) On 8/6/11 8:16 AM, Dirk Eddelbuettel wrote: a) Did you try 'sudo apt-get install r-cran-rjava' ? This is after all packaged in Debian b) The Debian rjava package has 'openjdk-6-jdk' in its Build-Depends,

Re: [R] rJava on Debian squeeze (or other versions of Linux)?

2011-08-06 Thread Dirk Eddelbuettel
On 5 August 2011 at 23:19, Barnet Wagman wrote: | Has anyone successfully installed rJava on Debian squeeze (or any other | version of linux)? | | I keep getting the | | ... (JDK) is missing or not registered in R | | | error message when installing the package. | | I've tried running 'R

[R] rJava on Debian squeeze (or other versions of Linux)?

2011-08-05 Thread Barnet Wagman
Has anyone successfully installed rJava on Debian squeeze (or any other version of linux)? I keep getting the ... (JDK) is missing or not registered in R error message when installing the package. I've tried running 'R CMD javareconf', setting JAVA_HOME and editing /etc/R/ldpaths by hand

Re: [R] rJava Help

2011-04-25 Thread Prof Brian Ripley
On Tue, 26 Apr 2011, Wincent wrote: I believe this posting is placed, and I take the liberty to re-direct to the r-help mailing list. But this is *NOT* the support list for rJava: that is http://rosuda.org/lists.shtml In particular the author of rJava does not monitor R-help. Regards, Rong

Re: [R] rJava Help

2011-04-25 Thread Wincent
I believe this posting is placed, and I take the liberty to re-direct to the r-help mailing list. Regards, Ronggui On 26 April 2011 12:33, wrote: >  I am trying to create a web user interface using RApache. I need to install > rJava packge but I am getting the following error message > > RApac

  1   2   >