Displaying 20 results from an estimated 10000 matches similar to: "Rserve error"
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
2010 Nov 04
2
Converting Strings to Variable names
Hi all,
I am processing 24 samples data and combine them in single table called
CombinedSamples using following:
CombinedSamples<-rbind(Sample1,Sample2,Sample3)
Now variables Sample1, Sample2 and Sample3 have many different columns.
To make it more flexible for other samples I'm replacing above code with a
for loop:
#Sample is a string vector containing all 24 sample names
for (k in
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
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":
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
2007 Apr 07
2
Rserve and R to R communication
Dear All,
The "clients.txt" file of the latest Rserve package, by Simon Urbanek,
says, regarding its R client,
"(...) a simple R client, i.e. it allows you to connect to Rserve from
R itself. It is very simple and limited, because Rserve was not
primarily meant for R-to-R communication (there are better ways to do
that), but it is useful for quick interactive connection to an
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
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
2008 Feb 03
1
Chrooted R + Rserve
I successfully chrooted R running Rserve with an unprivileged user,
and thought I'd publish the process.
Attached is a jailkit.ini for use with jailkit;* and a chroot/setuid
wrapper, chwrap.c.
To set up the chroot in, for instance, /var/R; perform:
mkdir -v /var/R
jk_init -v -c jailkit.ini -j /var/R R
then create the unprivileged user `r':
useradd r
After compiling chwrap
2010 Nov 08
2
Rserve alternative?
The Rserve documentation at
http://rosuda.org/Rserve/doc.shtml#start
states that even when making multiple connections to the Rserve,
Windows won't separate workspaces physically and share environments,
which will obviously cause problems and should therefore not be used.
Are there any alternatives for the windows platform?
Ralf
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?
2012 Mar 06
2
Rserve compilation error
Hi,
I am trying to install Rserve 1.7-0 on CentOS 6. But I get this compilation
error -
/usr/lib64/Revo-5.0/R-2.13.2/lib64/R/lib/libiomp5.so: undefined reference to
`pthread_atfork'
I tried other versions of Rserve (0.6-5 and 0.6-8) without any success.
How do I get around this issue? My goal is to run FastRWeb (which uses
Rserve).
Thanks in advance.
Joydeep.
--
View this message in
2010 Apr 26
1
RServe across network
Hi,
I am trying to connect to RServe across a network.
I had put RServe on my local machine and it worked just fine. When am try to
connect to it across a network - it is able to go through the handshake and
get in. However , when it gets to the 'request' method in the RTalk class,
it hangs. Any idea what is happening?
Any inout much appreciated.
Nupur
[[alternative HTML version
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
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.
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
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 =
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