What filepath should setRscriptExecutable() point to?
setRscriptExecutable()
I've Googled it, but nothing related to what I need comes up.
On Windows itC:\\Program Files\\R\\R-3.0.2\\bin\\Rscript.exe and on Linux/MacOS it is /usr/bin/Rscript
Windows
C:\\Program Files\\R\\R-3.0.2\\bin\\Rscript.exe
Linux/MacOS
/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);
On
WindowsitC:\\Program Files\\R\\R-3.0.2\\bin\\Rscript.exeand onLinux/MacOSit is/usr/bin/RscriptI think the best way to set it, is just like in the examples: