similar to: using R in a java application

Displaying 20 results from an estimated 2000 matches similar to: "using R in a java application"

2006 Sep 25
2
Can't mix high level and low level plot functions.
Hey R-Comunity, I'd like to print out an histogram of some experimental data and add a smooth curve of a normal distribution with an ideally generated population having the same mean and standard deviation like the experimental data. The experimental data is set as vector x and its name is set to group.name. I paint the histogram as follows: hist(data, freq=FALSE,
2006 Aug 08
1
How to convert list elements to data.frames or vectors?
Dear R mailing-list comunity! I'm currently trying to implement an R method. I have two sets of data that I convert into a data.frame each. These data.frames I'd like to append to a list: # generate a list listTable<-list() # add one set of data x<-1000 ;y<-1 ;listTable[[length(listTable) + 1]] <- data.frame(matrix(rnorm(x*y), nrow=y)); rm(x); rm(y) # add another set of
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:
2006 May 06
5
R and Java
Hello I m tryng to execute the code below and I have a problem with the R-Java connection.: import org.omegahat.R.Java.*; public class REvalSample { public static void main(String [] args) { String [] rargs = {"--slave", "--vanilla"}; System.out.println("Sample program to call R engine from Java"); ROmegahatInterpreter interp = new
2005 Sep 21
1
R , Java & DCOM
Hi, I am working on a Java project that will run primarily on Windows. As part of the project I would like to use the R engine. However, from what I have seen on this list & the SJava list, installing SJava on Windows can be troublesome. As a result I was wondering if anybody had used DCOM to access R from a Java program on Windows (if it is all possible). Any pointers to documents and/or
2005 Oct 05
2
R and Java
I am a grad student and am working on a project where i need to integrate java and R. I have a front end in java and i need to call R functions and be able to dispaly the plots and graphs produced by R on my java front end. I came across some tools like SJava and rserve...but am not sure which best suits my application. Your suggestion will be really helpful. Thanks, vasu. [[alternative HTML
2003 Dec 10
2
How can I call R from Java or C?
Hi all, I am new to R. I have been looking for a way to call R functions from Java or C. What I have found so far is: I can execute R commands in batch mode from a file and redirect the output to another file. However, I am not sure this is the way to do it. About C, is it true that I can only call R from a C process,only if that C process is invoked within R itself? So is it R->C->R ? If
2006 Feb 22
2
How can one use R-code and R-functions within C-Code?
Dear everyone, the following problem: Our group has written a lengthy program in c++, to which we would like to add some additional features. Because we are not sure if those features are actually useful, we would prefer to take a "quick and dirty" approach just to try them out. The additional feature is that in every iteration of the algorithm membership-probabilities should by
2004 May 26
3
SJava
Hi again! I'm trying to download SJava from the http://www.omegahat.org/RSJava/ website. I'm trying to get the binary. I download the version from BDR's website. When I unzip the file via unzip.exe, the new folder appears as SJAVA (upper case). >library(SJava) Error in library(SJava) : There is no package called 'SJava' >library(SJAVA) Error in library(SJAVA) :
2009 Oct 28
1
how can i call R program from one java program?
Dear All I want to call the R program from one Java program because In my project R program parameters are set by one web page developed by java. Is this possible to call R program from java? many thanks in advance -- Wesley C Mathew [[alternative HTML version deleted]]
2005 Aug 29
2
FW: RServe initialization problem
I want to use the R functionalities in my Java program. I found the Rserve that appear to suite my requirements but I'm facing some configuration problems. I' following the web page tutorial (http://stats.math.uni-augsburg.de/Rserve/doc.shtml) but I face the above problem: C:\Program Files\R\rw2010\bin>R CMD RSERVE Can't open perl script "C:\PROGRA~1\R\rw2010/bin/RSERVE":
2004 Jun 08
3
SJAVA error
Hi I'm trying to use SJava and I have troubles. I try to run examples from "Calling R from Java" but,I have an error that "fatal error: enable to open the base package" I heard SJAVA bug, so,could you send me your compiled SJava package with the modified REmbed.c because in Windows i'm not able to recompile!!! --example package org.omegahat.R.Java; public
2010 Jul 19
1
Non-blocking Eval
Hello, I'm currently working with the C++ version of the Rserve Client as part of a student project. Is there an implementation of a non-blocking interface to Rserve in C++? I can find one via the Java JRI but no equivalent in C++. Thanks _________________________________________________________________ Do you have a story that started on Hotmail? Tell us now [[alternative HTML
2005 Aug 29
1
RServe initialization problem
I want to use the R functionalities in my Java program. I found the Rserve that appear to suite my requirements but I'm facing some configuration problems. I' following the web page tutorial (http://stats.math.uni-augsburg.de/Rserve/doc.shtml) but I face the above problem: C:\Program Files\R\rw2010\bin>R CMD RSERVE Can't open perl script
2012 Apr 27
1
Creating a package which contains stand-alone C code
I would like to create an R package which uses some C code, which in turn uses MPI. At the moment I'm only interested in creating this package for UNIX-like systems. The way I envisage this working is for the R package to contain an R function which uses the system call to run the C code as a separate process (passing to the C code the location of a file of data). The C code can then do what
2006 Aug 22
3
How to interrupt running computation?
If I start a computation in R, how can I interrupt it? I' using R 2.1.0. Thanks for your help, Lothar
2004 Aug 14
1
Rserve needs (but cannot find) libR.a (or maybe it's .so)
I have successfully installed Rserv (http://stats.math.uni-augsburg.de/Rserve) on Mac OS, but I have trouble on two different linux platforms. R CMD INSTALL Rserve_0.3-10.tar.gz fails with this message ** libs gcc -g -O2 -I/usr/local/include -L/usr/local/lib Rserv.c -o Rserve \ -DDAEMON -O -I/usr/local/lib/R/include -Iinclude -I. -lR -L/usr/local/lib/R/bin -ldl -lcrypt
2009 Feb 28
2
Using JRI and Java 1.6 on MAC OS X
Dear R-Help, I am trying to get JRI (the rJava interface allowing Java to connect to R) to work. I was able to run it a week ago when I was doing some testing using Java 1.5. However, I am developing a GUI application using some of the new Java 1.6 features and I just can't get JRI to work with this setup. Here is what I get: Cannot find JRI native library! Please make sure that the JRI
2019 Jul 22
2
Fwd: Character not allowed in mailbox name
Hi Arnold, thanks for your assistance. I solved the issue right now by changing prefix = Shared/%%u/ to prefix = Shared/%%n/ This omits the @mydomain.de part which holds the dot causing the trouble. Why this became a problem due to the update I wouldn't know. Regards Lothar Am 22.07.2019 um 10:49 schrieb Arnold Opio Oree: > Hi Lothar, > > I haven't yet had the opportunity to
2010 Aug 20
1
Rserve (Anyone?)
REXP has an asBytes() method. Will this capture the output of an R plot function if a proper graphics device is used? It appears R insists on sending plot output to a file. Kind of strange since it insists on loading all your data into memory before it can do anything. If so then does anyone know what this would be? I prefer png or jpeg. Example: c is an RConnection REXP r =