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

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

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

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

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 >

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

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

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: >

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...

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

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. __

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

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

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

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

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

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

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

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

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

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 =

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

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

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

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

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

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

Re: [R] rJava software

2011-03-17 Thread Bio7
Hello, it seems that rJava tries to detect the path to the Java Virtual Maschine from a registry key which is not installed. I gues that the HLM means HKEY_LOCAL_MASCHINE where you find normally the path to your installed Java. On my Windows System i have for example the path HKEY_LOCAL_MASCHINE\S

Re: [R] rjava does not install

2011-02-14 Thread Mike Marchywka
sn't clear what this thing finds. if you do something like "which -a java" and "which -a javac" you may see some issues. Date: Mon, 14 Feb 2011 11:33:49 +0200 From: orvaq...@gmail.com To: rip...@stats.ox.ac.uk CC: r-help@r-pro

Re: [R] rjava does not install

2011-02-14 Thread Orvalho Augusto
Sorry for this delay. I have installed rjava on Fedora, CentOS and Debians. The secret is to install java and configure de java variables. The easiest way for R is: R CMD javareconf It will detect your java envoriment and preconfigure R for you. Then run: R CMD INSTALL rJava etc as you did. Ca

Re: [R] rjava does not install

2011-02-07 Thread Prof Brian Ripley
This isn't the right place (rJava has its own support lists), but - that is not the Java package installed on any version of Fedora I have seen, and you might want to try the native openjdk version. - the JAVA_HOME used by the build is not what you show, as it is looking in /opt/jre1.6.0_22/i

Re: [R] RJava help

2010-10-15 Thread lord12
public class my_convolve { public static void main(String[] args) { } public static void convolve() { System.out.println("Hello"); } } library(rJava) .jinit(classpath="C:/Documents and Settings/GV/workspace/Test/bin", pa

Re: [R] RJava help

2010-10-14 Thread Romain Francois
Le 14/10/10 20:28, lord12 a écrit : I need help with RJava. So I run this R code: library(rJava) #load the rJava library .jinit(classpath="c:/Documents and Settings/GV/workspace/Test/src", parameters="-Xmx512m") #the above is to load the Java virtual machine, x = runif(1000) y = runif(1000) #t

Re: [R] rJava: System.exit(1) in Java causes R crash

2010-08-18 Thread Simon Urbanek
On Aug 18, 2010, at 12:18 AM, Sigal Blay wrote: > I'm writing a package that successfully calls Java from R using rJava. > When R sends my Java function bad data (through .jcall()), > I get the error message details (when I run it on a console) > and then: > > Java requested System.exit(1), clo

Re: [R] Rjava, RImageJ, and/or S4 question.

2009-10-28 Thread Romain Francois
Hello, On 10/28/2009 12:21 AM, Robert Baer wrote: I am out of my league with this question. The following code starts the java imaging program ImageJ from within R, and displays an image (assuming ImageJ is installed on your computer). It does not assume ImageJ is installed, a version of

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

2009-09-17 Thread Romain Francois
On 09/17/2009 07:30 AM, _ wrote: Hi all, when using .jinit() I get the message .jinit() : Cannot create Java virtual machine (-1). You probably also need to set JAVA_HOME to that location, and have the bin directory (the one that contains java.exe) in your PATH as well. Usually, support for

Re: [R] rJava error for large XML object return in StatET plugin

2009-08-26 Thread Steve Lianoglou
Hi, On Aug 26, 2009, at 1:31 PM, Harsh wrote: Hi R List, I get this error using StatET R plugin in Eclipse. You might have more luck asking the StatET user mailing list: https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/statet-user -steve -- Steve Lianoglou Graduate Student: Com

Re: [R] rjava - JDK not found

2009-04-30 Thread Martial Sankar
Done ! > > > install.packages("rJava") > Warning in install.packages("rJava") : > argument 'lib' is missing: using > '/home/martial/R/x86_64-unknown-linux-gnu-library/2.9' > trying URL 'http://cran.fr.r-project.org/src/contrib/rJava_0.6-2.tar.gz' > Content type 'application/x-tar' lengt

Re: [R] rjava - JDK not found

2009-04-30 Thread Martial Sankar
I completely removed the java-sun version and install the openjdk instead. I re-launched the R CMD reconf. The installation still failed ! > install.packages("rJava") Warning in install.packages("rJava") : argument 'lib' is missing: using '/home/martial/R/x86_64-unknown-linux-gnu-library/2

Re: [R] rJava and matrices

2008-02-18 Thread Ben Woodcroft
Thanks for your prompt reply Martin. That should work, but still involves changing the java code. I was just hoping there might be an obvious solution I was missing. Sorry for the mailing list wrongness. I didn't realise there was an rJava mailing list. Thanks, ben On 19/02/2008, Martin Morgan <