similar to: Accessing R from Java

Displaying 20 results from an estimated 2000 matches similar to: "Accessing R from Java"

2006 Oct 11
0
Accessing R from Java [Broadcast]
I've had good luck with Rserve. http://stats.math.uni-augsburg.de/Rserve/ Hope this helps, Matt -----Original Message----- From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of fuad Sent: Tuesday, October 10, 2006 9:58 PM To: R-help at stat.math.ethz.ch Subject: [R] Accessing R from Java [Broadcast] Hello All, I am Fuad from Indonesia. I
2006 Nov 06
0
rJava: java.lang.OutOfMemoryError
Hy, In my case I just invoked as root (on a linux box) the command R CMD javareconf and checked if my system and root vm did match the version of the user vm. After this the command .jinit(parameters=c("-Xmx512m","-Xmx128m")) could be executed without errors. I got this information from http://www.rosuda.org/JGR/down.shtml -- Hi, Has anybody encountered the following
2009 May 13
0
Segmentation fault in package rJava on CentOS server
Hello, I just installed rJava on [root at UG13 ~]# R --version R version 2.9.0 (2009-04-17) runing on a [root at UG13 ~]# cat /etc/redhat-release CentOS release 5.3 (Final) This is the output of [root at UG13 ~]# R CMD javareconf Java interpreter : /usr/bin/java Java version : 1.4.2_18 Java home path : /usr/java/j2sdk1.4.2_18/jre Java compiler : /usr/bin/javac Java headers gen.:
2009 Apr 05
1
RJava question(class not found with rJava's vm, though found with alternate vm)
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 class not found error. Now If if, create my own vm (see below), and then run .jinit (which will
2006 Apr 15
2
cannot load rJava in R
Hi all! I recently tried to install the rJava package on my notebook (Debian Etch / Kernel 2.6.15 / jdk 1.5.0-5 / R 2.2.1 / rJava ?? the repo one, have a look below). I compiled R myself with "--with-readline=no" and "--enable-R-shlib flags". Now, each time loading the library rJava I encouter the same error. I reinstalled several times (as root), always the same problem:
2007 Sep 27
2
rJava and RJDBC
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-connector-java-5.1.3-rc-bin.jar' driverClass=c("com.mysql.jdbc.Driver") drv <-
2012 Aug 08
1
Cannot create Java virtual machine (-1)
All, I am trying to get the XLConnect package to work on one of my servers and I am getting an error that XLConnectJars cannot create the java virtual machine. The server is a 32-bit Windows Server 2003 machine with R 2.15.1. The version of Java installed on the server is J2SE Environment 5.0 update 8. I know this not the latest version of Java, and I will try to update it when I get
2017 Oct 21
2
Problem when trying to run Java in R:
Hello All, Although running Java from R used to work, for some mysterious reason, it's stopped. Today when I tried to load a basic JDBC driver (or the sample .jinit()) code, I got: - JavaVM: requested Java version ((null)) not available. Using Java at "" instead. - JavaVM: Failed to load JVM: /bundle/Libraries/libserver.dylib - JavaVM FATAL: Failed to load the jvm library. I
2010 Apr 28
1
rJava (installation?) problem: unable to find the basic String class
Hello, I have experienced the following problem after installing rJava (it being a prerequisite for another package in which I am relly interested). Any helpful thoughts would be appreciated: OS: Windows XP Professional 2002 SP3, have Java 6 Update 20 from Sun, also installed the JDK from http://java.sun.com/javase/downloads/index.jsp (or at least I suspect I installed it as it asked to re-boot
2007 May 17
2
.jinit() problem
Hello there. When I try to start the jvm using .jinit() after loading library(rJava) I don't seem to be able to as I get the message: Error in .jinit() : Cannot create Java Virtual Machine What is going on here? I have java 1.6 installed on my XP machine Thanks again. -- View this message in context: http://www.nabble.com/.jinit%28%29-problem-tf3774265.html#a10671963 Sent from the R
2006 Jan 26
2
What's wrong with JGR?
Hi all, I downloaded and installed JGR. Then when I tried to load the package in R console, it generated the following error message: > local({pkg <- select.list(sort(.packages(all.available = TRUE))) + if(nchar(pkg)) library(pkg, character.only=TRUE)}) Loading required package: rJava using Java Runtime version 1.5.0 using JAVA_HOME = C:\Program Files\Java\jre1.5.0_01 Loading required
2013 Nov 11
2
problem using rJava with parallel::mclapply
Dear all, I got an issue trying to parse excel files in parallel using XLConnect, the process hangs forever. Martin Studer, the maintainer of XLConnect kindly investigated the issue, identified rJava as a possible cause of the problem: This does not work (hangs): library(parallel) require(rJava) .jinit() res <- mclapply(1:2, function(i) {
2018 Mar 28
0
R and Java 10 ➜ rJava not able to build
Hi Ista! Thanks a lot for your support!! It puzzles me because it?s the first time that something like this happens to me. I?m aware that root and user don?t have the same environmental variables here. However, I don?t know why root chooses Java 9 and my user chooses Java 10. Isn?t Java 10 ready to be used as a root? It seems that we are going to have to wait until rJava releases a new
2007 Jul 23
0
Error in .jinit() : Cannot create Java Virtual Machine
Hey I have seen a few posts asking this question and nobody has replied to them so I will ask it again. I have intalled java 1.6.0_22 on XP and rJava. I get the following msg when i run .jinit() "Error in .jinit() : Cannot create Java Virtual Machine". can anybody help? Java is working fine. -- View this message in context:
2006 Dec 21
1
iplots/JGR on OS X 10.4.8
iMac Intel Core Duo; OS X 10.4.8; Java 1.5.0_06; R 2.4.1; JGR 1.4-14; rJava 0.4-12; iplots 1.0-5 I'm unable to get JGR or iplots to load using "library(JGR)" or "library(iplots)", respectively. This feels like it might be a classpath or Mac look-and-feel issue, but I'm not sure where to go with it at this point. I've searched the fora and web to no avail. Any
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--
2009 Mar 18
0
JGR install problem
Hi, I thought I'd like to try out JGR, but after installing the package (and dependencies) I receive the following when I try to load it: > library(JGR) Loading required package: rJava Loading required package: JavaGD Loading required package: iplots Note: On Mac OS X we strongly recommend using iplots from within JGR. Proceed at your own risk as iplots cannot resolve potential ev.loop
2007 Jan 31
0
Fwd: Unable to load rJava - Undefined Symbol GetCreatedJavaVMs
Could some pls help with this error message. Pls see below thanks Rupak ---------- Forwarded message ---------- From: Rupak Khurana <khurana.rupak@gmail.com> Date: Jan 31, 2007 2:46 PM Subject: Unable to load rJava - Undefined Symbol GetCreatedJavaVMs To: simon.urbanek@r-project.org Simon I am unable to load rJava. Pls see the log below. Any help is welcome and appreciated. thanks
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,
2009 Nov 09
1
trouble loading JGR on Debian
Dear developers I am unable to (properly) load JGR on Debian testing. The JGR window will pop out and R will start up, but it will not perform any of the JGR specific library() calls (rJava, JavaGD, etc.) and will stuck at 100% CPU while the prompt will be non-responsive. The hack that helped previously in such cases, accessing Help > About [1], works no more. All R packages are installed via