Dear all,
Just wondering if you know of tried and tested Stata code (do or ado)
that would run a piece of R code from within Stata and return certain
pieces of the results as a Stata macro.
For instance, I would like to call an R function that would perform
certain calculations on certain variables (that also has to be
exported to R) and then return certain pre-specified info (from the R
object) such as a P-value as a Stata macro. Perhaps a combination of
rsource, outsheet, some R object parsing and intext that hides all
the mechanistic details of running R from within Stata.
Thanks,
salah mahmud
Canada
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/