[Rd] Using R as a server to process multiple requests
Simon Pears
s.p.pears at hotmail.co.uk
Fri Jan 12 12:41:09 CET 2007
Hi
Has anyone experience of using R as a server to procuess multiple Java
client requests. I am aware of RServe. However, in a Windows environment I
think only one connection at a time is allowed.
Has anyone used spawning a R Process from Java for each request, e.g
Process process = Runtime.getRuntime().exec(rExecutable)
BufferedWriter bw = new BufferedWriter(new
OutputStreamWriter(process.getOutputStream()), buffSize);
BufferedReader br = new BufferedReader(new
InputStreamReader(process.getInputStream()), buffSize);
BufferedReader be = new BufferedReader(new
InputStreamReader(process.getErrorStream()), buffSize);
Regards Simon
_________________________________________________________________
Be the first to hear what's new at MSN - sign up to our free newsletters!
More information about the R-devel
mailing list