Displaying 20 results from an estimated 20000 matches similar to: "PlotDemo.java for Rserve?"
2009 Mar 13
0
ctree from Java via Rserve
Hi,
I want to run the R-function ctree (package party) from Java over Rserve
with the following Java-Code:
try{
RConnection v = new RConnection();
v.voidEval("library(party)");
v.voidEval("try(load(\"C:\\Documents and Settings\\daten2.rda\"))");
v.voidEval("try(pdf(\"C:\\Documents and Settings\\test4.pdf\"))");
v.voidEval("plot
2007 May 24
0
MDScale from within Java using Rserve?
Hi there.
I am able to create a multidimensional scaling algorithm in R using the
following code:
places<-read.table("C:\\Project\\R\\places.txt")
places.location <- cmdscale(places, k=2)
round(places.location,0)
plot(places.location,type="n", xlab="", ylab="",main ="cmdscale(places)")
What I would like to know is how I can do this by
2006 Jul 10
0
Starting Rserve in Java using Runtime Failed
I have tried using the following piece of Java code to
start Rserve on my Linux PC without success.
try {
String command = "R CMD Rserve ";
Process p = Runtime.getRuntime().exec(command);
returnCode = p.waitFor();
if (returnCode != 0) {
errorMessage = "Unexpected return code = " +
returnCode;
}
} catch (Exception e) {
errorMessage = "Exception in running :" +
2010 Feb 27
0
pass an array of array from Java to R- Rserve
hello all,
Could someone please tell me how should I pass a double[][] (matrix of any
size) that I have in Java, into R using Rserve.
Thanks
Sashikiran
--
Sashikiran Challa
MS Cheminformatics,
School of Informatics and Computing,
Indiana University, Bloomington,IN
schalla@indiana.edu
812-606-3254
[[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
2013 Sep 15
0
building R, rJava, & Rserve on Centos without admin privileges (or support)
I am trying to build R on a Centos server without admin privileges (or
support), so I can call R functions from NetLogo models (via the NetLogo
R extension or possibly Rserve), but I'm getting stuck near the end of
make. Any suggestions?
Here's the setup...
$ R_SHELL=/bin/sh
$ R_HOME=~/R-devel
$ cd $R_HOME; ./configure; make
returns
...
begin installing recommended package MASS
2017 Nov 13
0
Where to get support for Rserve?
?maintainer
## i.e.
maintainer("rserve")
Also, please search. A web search on simply "rserve" brought up what
appeared to be many relevant hits.
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Mon, Nov
2006 Jul 17
0
Handshake exception in Rserve [Broadcast]
We had something similar, and as far as I recall the problem turned out to
be that we had not set the config file to allow remote connections.
This would probably be better put on the Rosuda mailing list:
http://mailman.rz.uni-augsburg.de/mailman/listinfo/stats-rosuda-devel
Hope this helps,
Matt Wiener
-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces
2006 Jul 17
0
Handshake exception in Rserve
Hello,
We are facing some problem while calling a Rserve API from our Java client.
The details are as below:
1) We have installed Rserve on linux machine "Nagarajan"(Port: 6311) and
related modules.
2) We have started the Rserve in daemon mode perfectly by executing the
comman " R CMD Rserve" on the linux machine.
But when the Java client executes the statement:
2009 Mar 11
1
RServe
Dear all,
I'm trying to use R-functions from Java. I want to use the Package Rserve.
Everthing is installed and I can run my Java-testprogramm.
...
Rconnection r = new Rconnection();
double[] d = r.eval("rnorm(10)").asDoubleArray();
...
But now I get always arrays with ten "0.0", which is not correct
I suppose, that is is a problem from R, because at the fist time (last
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":
2009 Jan 10
0
Rserve/RandomForest does not work with a CSV?
Hi all,
We're using Rserve and RandomForest to do classification from within a
Java program. The total is about 4 lines of R code:
library('randomForest')
x
y
future
fit<-randomForest(x,y,no.action=na.roughfix,importance=T,proximity=T)
p<-predict(fit, future)
What is very frustrating is that we have tried this two different ways
(both work in R):
1. Load x, y, and future
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
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
2008 Sep 09
1
passing graph image data from remote Rserve
Hello,
I am using Rserve to create a dedicated computational back-engine. I
generate and pass an array of data to a java application on a separate
server. I was wondering if the same is possible for an image. I believe
that Rserve supports passing certain R objects and JRclient can cast
these objects into their Java counterparts. If I generate a barplot in R
(remotely), can I pass the graph
2017 Nov 13
3
Where to get support for Rserve?
Hello,
I'm using Rserve with Java and although it works OK for 50 or 60 requests, eventually Rserve simply stops responding and I have to force-quit and restart Rserve. During this time the JVM is fine and Tomcat (app server) is fine, too.
The basic Java code does this:
--------------------------------------------
1. Create an R Connection
2. Execute an R Script via Rserve "eval"
2005 Jun 11
1
Using Rserve
Hey is there a more consistent way of connecting to Rserve. I have
code that opens a connection to Rserve by executing explicitly using
Java runtime ( "C:\Program Files\R\r20XXX\Rserve.exe" ).
However when i run the app and attempt to connect, it does not connect
imediately.I have to close the app and open it again for a few times
before i get a connection.
Am i doing something wrong?
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 03
1
Open data-file in R - from Rserve
How can I open a data file from the client on the RServe server using Java?
--
View this message in context: http://www.nabble.com/Open-data-file-in-R---from-Rserve-tp24795557p24795557.html
Sent from the R help mailing list archive at Nabble.com.
2008 Jul 31
1
'system' command through Rserve
Hello,
I've installed an Rserve instance on a remote server. I have no problem
interfacing with it and running most commands. I have loaded some R
scripts on the remote server, and one of them contains a system command
to copy a file (created by the script) onto another server. When I run
the script on the remote server itself, the script works as I intend: it
creates a .csv file and uses