RCaller - What exactly should setRscriptExecutable() point to?

294 Views Asked by At

What filepath should setRscriptExecutable() point to?

I've Googled it, but nothing related to what I need comes up.

1

There are 1 best solutions below

4
On

On Windows itC:\\Program Files\\R\\R-3.0.2\\bin\\Rscript.exe and on Linux/MacOS it is /usr/bin/Rscript

I think the best way to set it, is just like in the examples:

RCaller caller = new RCaller();
Globals.detect_current_rscript();
caller.setRscriptExecutable(Globals.Rscript_current);