Hi,

The Rserve implementation of REngine does not support references (yet?). Anyway, I don't think references are what you need here.

You probably want the methods createFile and openFile that create RFileInputStream and RFileOutputStream which you can use to transfer files through the R server wire.
http://www.rforge.net/org/docs/org/rosuda/REngine/Rserve/RConnection.html

Romain

On 08/03/2009 04:57 PM, joaodaniel wrote:

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


--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/vfxe : R GUI page on the R wiki
|- http://tr.im/tlNb : RGG#155, 156 and 157
`- http://tr.im/rw0p : useR! slides

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to