How to call exe program and input parameters using R?

Viewed 2779

I want to call .exe program (spi_sl_6.exe) using a command of R (system), however I can't input parameters to the program using "system". The followwing is my command and parameters:system("D:\\working\spi_sl_6.exe")

https://i.stack.imgur.com/I6Try.jpg I am searching for a long time on net. But no use. Please help or try to give some ideas how to achieve this. Thanks in advance.

2 Answers
Related