Rcall
runs R commands in Stata and allow the two software automatically communicate variables,
matrices, and data. more information read the help file or
visit diagram homepage.
Rcall
returns rclass scalars, macros, and matrices to Stata, anytime an R command is executed.
Similarly, it allows passing macro, matrix, scalar, and data from Stata to R.
Rcall
makes it so easy to run R within Stata interactively, pass data or a matrix to R,
and access the results (numeric, matrix, character, lists) wutomatically within Stata which simply brings the power of R as well as all other programming languages that can be used interactively in R (e.g. C++ using Rcpp or JavaScript using V8) in Stata.
The github package
can be used to install Rcall from GitHub conveniently.
github install haghish/Rcall
E. F. Haghish
Center for Medical Biometry and Medical Informatics
University of Freiburg, Germany
haghish@imbi.uni-freiburg.de
http://www.haghish.com/packages/Rcall.php
@Haghish
The examples directory includes the torture test file that can serve as a good example.