Re: [Rd] rJava Java debugger API

2014-06-17 Thread Prof Brian Ripley
*Now* you tell us rJava is involved. Its lists are accessed via http://www.rforge.net/rJava/ On 17/06/2014 07:43, rmohan wrote: Hi, I use rJava and call Java code that uses JVMTI code like this VM vm = VM.getVM(); Universe universe = vm.getUniverse(); CollectedHe

[Rd] rJava Java debugger API

2014-06-17 Thread rmohan
Hi, I use rJava and call Java code that uses JVMTI code like this VM vm = VM.getVM(); Universe universe = vm.getUniverse(); CollectedHeap heap = universe.heap(); This code attaches to another JVM and to get its internals. This is legal Java and it works. But when I use r

[Rd] rJava is not working in Solaris through java

2012-12-21 Thread Praveen Kumar
Hi, we have installed R in solaris 10 sparc machine. After installing R we have installed rJava package and we did a sample test using R prompt it worked well. We have written sample Java class to calculate GLM and LM functions. When we execute the sample java class it returns null for both the fu

[Rd] rJava System.out / System.err & stacktraces

2012-01-06 Thread kapelner
Hi, Is there any way to initialize rJava so it can print System.out and System.err to console? Also, is there any way to see stack traces? Otherwise we're limited to just seeing: > .jcall(machine, "V", "Build") > .jcheck() Error: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 which doesn

Re: [Rd] rJava question

2010-12-28 Thread Simon Urbanek
Dominick, On Dec 27, 2010, at 11:56 PM, Dominick Samperi wrote: > After some trial and error I figured out how to pass matrices from R to java > and back using rJava, but this method is not documented and I wonder if there > is a > better way? > stats-rosuda-devel is the rJava list you want to

[Rd] rJava question

2010-12-27 Thread Dominick Samperi
After some trial and error I figured out how to pass matrices from R to java and back using rJava, but this method is not documented and I wonder if there is a better way? Anyway, here is what I found works: (m = matrix(as.double(1:12),3,4)) [shows m as you would expect] jtest <- .jnew("JTest")

Re: [Rd] RJava

2010-09-06 Thread Simon Urbanek
On Sep 6, 2010, at 4:10 PM, Leidy Patricia Garzon wrote: > > hello > > I am having the same problem published in > https://stat.ethz.ch/pipermail/r-help/2008-July/167191.html but I haven't > seen the solution > > Could some body helpme > Well, if you posted to the correct list (stats-rosu

[Rd] RJava

2010-09-06 Thread Leidy Patricia Garzon
hello I am having the same problem published in https://stat.ethz.ch/pipermail/r-help/2008-July/167191.html but I haven't seen the solution Could some body helpme thank you so much LEIDY [[alternative HTML version deleted]] _

Re: [Rd] [rJava] Trouble in using rJava

2010-03-30 Thread Guido García Bernardo
Hello Nabilia. You should send at least the Java exception to the list. Some code is also welcome. Regards, Guido García On Tue, Mar 30, 2010 at 10:19 AM, Nabila Salmi < nabila.sa...@orange-ftgroup.com> wrote: > Hello, > > I'm using rJava and JRI to call R scripts from my Java code, but my scr

Re: [Rd] rJava downloads but cannot load, (PR#13997)

2009-10-10 Thread edd
On 10 October 2009 at 05:40, lmra...@gmail.com wrote: | > 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

Re: [Rd] rJava downloads but cannot load, when I run R as root (PR#13994)

2009-10-10 Thread Dirk Eddelbuettel
On 10 October 2009 at 05:40, lmra...@gmail.com wrote: | > 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

[Rd] rJava downloads but cannot load, when I run R as root (PR#13994)

2009-10-10 Thread lmramba
> 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 ..

Re: [Rd] rJava fails compilation on R-2.9.1 but not R-2.7.1 on Debian Lenny

2009-07-15 Thread Mark Kimpel
Well, guess what, rJava also compiles on R-devel (soon to be R-2.10.0). I'll stick with that for my purposes. Thanks for your suggestion. Mark Mark W. Kimpel MD ** Neuroinformatics ** Dept. of Psychiatry Indiana University School of Medi

Re: [Rd] rJava fails compilation on R-2.9.1 but not R-2.7.1 on Debian Lenny

2009-07-15 Thread Dirk Eddelbuettel
Mark, Again, sudo apt-get install r-cran-rjava does what you want. We do provide these binaries for a reason. Namely, that it can be hard to tame the system requirements. So why don't you just install the binaries we provide? Dirk -- Three out of two people have difficulties with fra

Re: [Rd] rJava fails compilation on R-2.9.1 but not R-2.7.1 on Debian Lenny

2009-07-15 Thread Joshua Ulrich
Hi Mark, The first thing that jumps out to me is that 2.7.1 compiles JRI, while 2.9.1 does not (for some reason, autodetect decides not to compile). HTH, Josh -- http://www.fosstrading.com On Wed, Jul 15, 2009 at 1:46 PM, Mark Kimpel wrote: > I have been futzing around for days tying to get rJ

Re: [Rd] rJava fails compilation on R-2.9.1 but not R-2.7.1 on Debian Lenny

2009-07-15 Thread Mark Kimpel
Sorry, My sentence that starts "The file" was truncated and should say "The file "jni.h" is present and on my PATH, see output below" mkimpel-debian-xps /usr/lib/jvm/java-6-sun/include: ls classfile_constants.h jawt.h jdwpTransport.h jni.h jvmti.h linux mkimpel-debian-xps /usr/lib/jvm/java-6-

[Rd] rJava fails compilation on R-2.9.1 but not R-2.7.1 on Debian Lenny

2009-07-15 Thread Mark Kimpel
I have been futzing around for days tying to get rJava to install on my freshly build Debian Lenny installation. I have R-2.9.1 installed from source in my R_HOME directory and R-2.7.1 installed via apt-get install r-recommended. I was tried many different things, but by accident started up R-2.7.1

Re: [Rd] RJava question(class not found with rJava's vm, though found with alternate vm)

2009-04-05 Thread Saptarshi Guha
I have continued this on the stats-rosuda-devel mailing list. Saptarshi Guha On Sun, Apr 5, 2009 at 10:12 AM, Simon Urbanek wrote: > > On Apr 5, 2009, at 9:26 AM, Saptarshi Guha wrote: > > Not sure if this the right place, but I can't seem to subscribe to the >> rJava >> mailing list. Sorry fo

Re: [Rd] RJava question(class not found with rJava's vm, though found with alternate vm)

2009-04-05 Thread Simon Urbanek
On Apr 5, 2009, at 9:26 AM, Saptarshi Guha wrote: Not sure if this the right place, but I can't seem to subscribe to the rJava mailing list. Sorry for the noise. The correct mailing list is stats-rosuda-devel: http://mailman.rz.uni-augsburg.de/mailman/listinfo/stats-rosuda-devel (The rJav

[Rd] RJava question(class not found with rJava's vm, though found with alternate vm)

2009-04-05 Thread Saptarshi Guha
Not sure if this the right place, but I can't seem to subscribe to the rJava mailing list. Sorry for the noise. I have a jar file in the CLASSPATH variable. On running .jinit and checking .jclassPath, i can see the jar file containing the class. Yet when trying to instantaite the class, i get a cl

Re: [Rd] rJava and RJDBC

2007-09-27 Thread Joe W Byers
Simon Urbanek r-project.org> writes: > > Joe, > > which version of R and RJDBC are you using? The behavior you describe > should have been fixed in RJDBC 0.1-4. Please try the latest version > from rforge > install.packages("RJDBC",,"http://rforge.net/";) > and please let me know if that so

Re: [Rd] rJava and RJDBC

2007-09-27 Thread Simon Urbanek
Joe, which version of R and RJDBC are you using? The behavior you describe should have been fixed in RJDBC 0.1-4. Please try the latest version from rforge install.packages("RJDBC",,"http://rforge.net/";) and please let me know if that solves your problem. Cheers, Simon On Sep 26, 2007, at

[Rd] rJava and RJDBC

2007-09-26 Thread Joe W. Byers
I am desperate for help. I am trying to get the RJDBC and rJava .5to work on both my windows xp and linux Redhat EL5 Server. On both I get a ava.lang.ClassNotFoundException when calling JDBC(). My example is require(RJDBC) classPath='C:\\libraries\\mysql-connector-java-5.1.3-rc\\mysql-connecto