similar to: Calling R function from Java

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

2008 Aug 06
2
Statistics on raster pictures - asking for an advice
Hello, I need to do some basic statistics on raster images (tiff or png). I need only an advice where to start, which package is the most appropriate. My search attempts were without success, yet. Many thanks Tomas
2008 Feb 13
1
Modelling disease spread
I was at a lecture the other day and I saw a presentation of very neat (short) animation modeling epidemic disease spread over a map region. When I ask what software they used they mentioned SAS. Do you know if there are equivalent resources in R to model the spread of disease with animation output? My search in R-help and google didn't lead to any document (though I found a couple of
2009 Sep 06
3
Video Analysis?
What software exists for digitizing video to quantify the motion of specific features in the image? I might be willing to use something that's NOT in R, though I'd prefer something in R (or at least with an R intereface). Thanks, Spencer Graves
2008 Jun 17
1
Reading OpenOffice Calc spreadsheet into R
I am in awe of the project you developed but wish to do something simpler. I have recently decided to give up on Microsoft Office and wish to use OpenOffice exclusively. In the past I have used the RODBC package to read data from excel files. Do you know how to read data directly from OpenOffice calc files into R? Farrel Buchinsky
2007 Aug 23
4
Calculating diameters of cirkels in a picture.
Hi, Maybe this is more a programming questions than a specific R-project question, but maybe there is someone who can point me in the right direction. I have a picture of cirkels which I took with a digital camera. Now I want to use the diameter of the cirkels on the picture for analysis in R. I can use pixmap to import the picture, but how do I find the outside cirkels and calculate the
2007 Nov 20
1
Help with talking to R from Java (on Window)
Hi - I read through RServe page carefully and it turns out that it's not recommended to use RServe on windows. I have different applications that are calling R to do their own things at the same time. So architecture like R(D)COM or RServe is preferred where I can create a dedicated process for a single application. However, if I have to go with R(D)COM from Java, I'd have to find Java
2009 Feb 10
2
R running as a server on windows?
Hi there, I'm not sure whether this is the right mailing list to put this question... if not, please tell me where I can find help. I have a spare dual-core machine which run Windows XP Professional and is nearly unused (nearly! Unfortunately, I cannot change OS). And I'm investigating Knime (knime.org) to set up data analysis workflows. They have some nodes to execute R on a remote
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]]
2007 Dec 30
1
some questions about startup Rserve
I realize the communication between R and Java with Rserve in my dissertation, but i can not run the Rserve by double click of Rserve.exe, and also i can't realize backstage running of Rserve by technique of Multi-thread in Java. Can anyone tell me why? So, before i run the Java, i must run the R manually, then input "Rserve()" or "system("Rserve")". This
2009 May 07
3
RSPerl and Statistics::R
Greetings! Being a Perl hacker for some time, and wanting to leverage what R provides, I've been trying to work with Statistics::R and RSPerl. The former has a race condition that breeds some unreliability and the latter seems to have issues all around, and neither has been updated in some time. Are these projects are abandoned, or is there some effort currently being undertaken to
2010 Nov 01
1
Rserve error
Hi all, I'm trying to run Rserve on windows RGui. It installs successfully but when I use "Rserve()" to invoke the service it shows following error: "The program can't start because R.dll is missing from your computer. Try reinstalling the program to fix this problem." I even tried reinstalling R but it still shows the same error. Thanks, Anand [[alternative HTML
2007 Aug 11
1
RServe
Hi all, is there a way to properly terminate Rserve instead of killing the process? I run Rserve in a linux box that serves my Java client.. I have a cronjob that runs Rserve every morning. However, I'm killing it at night manually for the moment. Is there a way, given host/port, I can run an R command to properly terminate it?? Thanks a lot in advance!! - yoooooooo -- View this message in
2009 Aug 03
1
RServe - How to use 'createReference' method?
I need to input a txt, or xls, file from a client to R, using RServe. >From what I've been reading, the best way to do this, is using the 'createReference' method, from REngine package. But I couldn't find any documents exemplifying it's use. I got to upload a file from java? And then? How do i refeer the file to this method? Best Regards, J. Daniel -- View this message
2009 Aug 27
1
Submit a R job to a server
Dear R users, Thanks in advance. I am Deb, Statistician at NSW Department of Commerce, Sydney. I am using R 2.9.1 on Windows XP. May I request you to provide me information on the following: 1. I have access to a server ( I have userid and pwd) 2. What are the packages I need to submit a job from Windows XP to this server? Should I need to install any package on this server before
2010 Aug 19
2
C or Java code generation
Hi All! I'm new to R and I need to know is it possible for R to generate C/C++ source code, Java byte code or native Win32 DLL like MatLab? --- WBR, Vyacheslav.
2009 Mar 19
4
Import R-output into Java
Hello, I want to import R-output via Rserve to Java, especially for the function ctree from the package party. Rserve is working properly. Yet, I only get the predictions with the Java code try{ RConnection c = new RConnection(); ... c.voidEval("modell <- ctree(...)"); REXP y = c.eval("nodes(modell,1)[[1]]$prediction"); ...
2009 Jan 27
1
Using R in a web application
Hi, I want to use R to do user-submitted jobs in a (java-based) webapp. Specifically, I want * users to upload R scripts * run the R job on user data * save the results to database I'm concerned about sandbox issues. * Is it possible to disable file read/write capability? * Can I prevent the user from loading packages (e.g. the database package). * Can I have users work on separate data
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
2010 Aug 20
1
R and Java
Hi folks, Maybe that is not the best place to ask, but I 'd like some of you could help me... I'm using jri to run R commands under Java, by its examples I can eval expressions, returning single values or vectors to my Java variables. But, I would like to know how to assign the values of a Java vector (like: double x[] = {1.7 , 2.8 , 3.4}; ) to a R variable, so I can eval a function
2009 Sep 25
1
Java to R interface.
I want to call R functions from Java. I read a couple of forums that said to install package rJava in R. However I am not able to install rJava package in linux Ubuntu.I tried with two commands. One is install.packages("rJava") and another I downloaded the rJava_0.7-0.tar.gz file from R site. and gave the command R CMD INSTALL rJava_0.7-0.tar.gz. I got the followin Errors :- Warning