startStata | R Documentation |
doInStata
A wrapper around Stata “server” code
startStata(timeout = 60, start_cmd = getOption("statapath"),
compath = tempdir(), exit_on_error601 = FALSE,
verify=TRUE)
timeout |
Seconds to wait for the response/confirmation from Stata. Default: 60. |
start_cmd |
A string specifying a system command line to start Stata, e.g.: on Windows OS
|
compath |
A path to a directory where the R<->Stata information exchange
sub-directory should be created. Default: |
exit_on_error601 |
Logical: should Stata be closed when the R–Stata data exchange
working directory disappears and Stata “server” stops
(Stata error 601)? Default: |
verify |
Logical (default: |
An object of S3 class 'StataID' if Stata confirms that the 'server' is ready, else an error.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.