2

What filepath should setRscriptExecutable() point to?

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

Mykola
  • 3,343
  • 6
  • 23
  • 39
ws04
  • 45
  • 9

1 Answers1

1

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);
Paul
  • 1,325
  • 2
  • 19
  • 41