[R] RServe - How to use 'createReference' method?

Romain Francois romain.francois at dbmail.com
Tue Aug 4 08:39:20 CEST 2009


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.


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://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

More information about the R-help mailing list