It is possible to run Stata in batch mode in unix and Mac OS. This mode sends the program output to a log file (much like using the /s option in windows).
This pull requests adds a logical argument to allow to run Stata in batch mode. This option is set to FALSE by default to keep the current RStata behavior. If set to TRUE, RStata will read the contents of the RStata.log instead of relying on the sys call output. This also fixes the issue of RStata hanging when the user has set more on.
It is possible to run Stata in batch mode in unix and Mac OS. This mode sends the program output to a log file (much like using the /s option in windows).
This pull requests adds a logical argument to allow to run Stata in batch mode. This option is set to FALSE by default to keep the current RStata behavior. If set to TRUE, RStata will read the contents of the RStata.log instead of relying on the sys call output. This also fixes the issue of RStata hanging when the user has set more on.
I have tested this on MacOS and it seems to work.