用R程序创建可执行文件的方法是什么


What are the ways to create an executable from R program

我想知道是否存在创建要在UNIX中运行的可执行R程序的问题。 我认为RInside可以完成这项工作,但只想知道是否还有其他方法可以做到。

提前致谢


确切答案取决于您的要求,但是您可以先查看Rscript(请参见http://stat.ethz.ch/R-manual/R-devel/library/utils/html/Rscript.html和http:// blog.revolutionanalytics.com/2009/01/using-r-as-a-scripting-language-with-rscript.html)以及littler(http://code.google.com/p/littler/)。