[英]Run a exe file through R
I have a .exe file, and want to run it in R! 我有一个.exe文件,并想在R中运行它! After running that exe file, a output text file will be created inside of that I do not know how to do that?
运行该exe文件后,将在其中创建输出文本文件,我不知道该怎么做?
Thanks all, 谢谢大家
您可以使用以下行,只需将mystring替换为.exe文件的路径,然后将cmd用作类型(类型=“ cmd”),这意味着您可以从命令行运行它
system( shQuote( "mystring" , type = c("cmd","sh") ) , ... )
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.