poster
2019-12-14, 20:13
假设我们具有可以在shell中执行的命令X ,并在stdout和stderr中返回一些结果。是否可以通过R或/和Matlab做到这一点?如果是,如何处理命令结果?
回答:
您可以在R中使用system()命令执行shellscript,system-command等
它记录在http://cran.r-project.org/doc/manuals/R-lang.html#System-and-foreign-language-interfaces
更多&回答... (https://stackoverflow.com/questions/5067199)
回答:
您可以在R中使用system()命令执行shellscript,system-command等
它记录在http://cran.r-project.org/doc/manuals/R-lang.html#System-and-foreign-language-interfaces
更多&回答... (https://stackoverflow.com/questions/5067199)