RSCRIPT: call an R script from Stata.
- January 22, 2019
which rscript at the Stata prompt to determine which version you have installed. To install the most recent version of
rscript, copy/paste the following line of code:
net install rscript, from("https://raw.githubusercontent.com/reifjulian/rscript/master") replace
rscript is a Stata command that runs an R script and displays the output in the Stata console.
For more details, see the Stata help file included in this package.