Skip to content
Prev 174306 / 398506 Next

Import R-output into Java

Thanks, sink was exactly the function I searched.
It properly works in R, but when I try to launch it from Java, the file is
created but never written any output...

con.voidEval("test.txt");   // file is created
con.voidEval("1+1");        // nothing is written into the file
con.voidEval("sink()");

Where is my mistake?
Cheers, Max
Thomas Roth (geb. Kaliwe) wrote: