isStataReady | R Documentation |
Check if Stata instance is ready to receive a job (running and not busy)
isStataReady(id, timeout = 1)
id |
An object of S3 class 'StataID' generated by |
timeout |
Seconds to wait for Stata to respond. Default: 1.
Warning: too low value may result in “false nagative” i.e. non-busy Stata
instance not managing to reply on time; too high value may unnecessairly slow down
the execution of your R code – setting up this parameter optimally may require
some trial and error based on your hardware
(setting |
TRUE
or FALSE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.