Reputation: 25
I have a .exe file, and want to run it in R! After running that exe file, a output text file will be created inside of that I do not know how to do that?
Thanks all,
Upvotes: 1
Views: 3427
Reputation:
You can use the following line, just replacing mystring with the path of the .exe file, and cmd as the type (type = "cmd") meaning you are running it from command line
system( shQuote( "mystring" , type = c("cmd","sh") ) , ... )
Upvotes: 2