WARNING:
Rcall
command was renamed torcall
andRcall_check
command was renamed torcall_check
.
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
[email protected]
http://www.haghish.com/packages/Rcall.php
@Haghish
The examples directory includes the torture test file that can serve as a good example.