Displaying 1 result from an estimated 1 matches for "strcmdtmp".
2000 May 10
1
R and Java ? [forwarded]
...r are there special API's that are available. I know for a
fact taht Java does NOT have API's for R. It does have special interface
API for major programs
like C. Excel, MS-Word
Any help would be greatly appreciated.
The code for the above is:
Runtime rt = Runtime.getRuntime();
String strCmdTmp ="";
strCmdTmp = "Z:\\R\\rw1000\\bin\\Rgui ";
Process jproc= rt.exec(strCmdTmp);
OutputStreamWriter o = new OutputStreamWriter(jproc.getOutputStream());
o.write("a<-c(4,5)\n");
o.write("mean(a)\n");
o.write("quit(\"no\")\n&...