I would like to use Stata and get results from analyses into R (as a data frame in R, for manipulation there). Stata can return various results for postestimations and manipulations (-return list-), but what would be the easiest way to get a matrix from Stata into R?
This is an old question, as shown by this thread on StackOverflow: https://stackoverflow.com/questions/...on-result-to-r, but I believe so far with no good answer.
Does anyone have any recent experience with such a procedure, and maybe a recommendation? I assume one option might be to use -putexcel-, and then read those excel data into R. But maybe there's a better solution out there.
(-Rcall- would not solve my problem. I need to run code from R or at the very least import results from Stata into R as a dataframe. I run all analyses and documentation from within R/RStudio, using the knitr package. Stata is currently used for initial data management only, but I'd like to add the option to let Stata do some analyses.)
Related Posts with Exporting Stata results to R
 Performing panel data analysis while looking for differences between groupsHello everybody,
I'm a bit new to using Stata. For my investigation I want to know which variables … Performing panel data analysis while looking for differences between groupsHello everybody,
I'm a bit new to using Stata. For my investigation I want to know which variables …
 Bootstrap as manualHi,
I'm studying bootstrap for microarray analysis. I found this code from http://www.compgen.org/t… Bootstrap as manualHi,
I'm studying bootstrap for microarray analysis. I found this code from http://www.compgen.org/t…
 Removing outliersHi all,
I am currently working on my undergraduate dissertation, title "The Macroeconomic Determina… Removing outliersHi all,
I am currently working on my undergraduate dissertation, title "The Macroeconomic Determina…
 Load dataset from OneDrive web folderDear fellows,
I am trying to load a dataset "A.dta" from my personal OneDrive folder, but I have som… Load dataset from OneDrive web folderDear fellows,
I am trying to load a dataset "A.dta" from my personal OneDrive folder, but I have som…
 command to calculate average growth rate with 5 years interval?I have a panel dataset and need to take the lag of the total population with a 5-year interval so th… command to calculate average growth rate with 5 years interval?I have a panel dataset and need to take the lag of the total population with a 5-year interval so th…
Subscribe to:
Post Comments (Atom)
0 Response to Exporting Stata results to R
Post a Comment