First I start with my goal: I have an exe file which gets a data file, then does some computations and return an output files. I want to use R Shiny to get the input data from users, and then run the exe file and finally plot the results.
I used system() command and was able to get input from user and run the exe file, when I execute it locally on my PC. But, when I publish it online (in my Shinyapps.io account) it does not work. I checked the log in my account and got this msg:
sh: 1: foo.exe: not found
Warning in system("foo.exe") : error in running command
Is there a solution for what I am trying to do?
Thank you.