Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
应该setRscriptExecutable()指向什么文件路径?
setRscriptExecutable()
我已经用谷歌搜索了它,但没有出现与我需要的内容相关的内容。
在Windows它C:\\Program Files\\R\\R-3.0.2\\bin\\Rscript.exe上面Linux/MacOS是/usr/bin/Rscript
Windows
C:\\Program Files\\R\\R-3.0.2\\bin\\Rscript.exe
Linux/MacOS
/usr/bin/Rscript
我认为设置它的最佳方法就像在示例中一样:
RCaller caller = new RCaller(); Globals.detect_current_rscript(); caller.setRscriptExecutable(Globals.Rscript_current);