Skip to content

mcomsa/rcall

 
 

Repository files navigation

rcall : seamless R in Stata

WARNING: Rcall command was renamed to rcall and Rcall_check command was renamed to rcall_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.

Installation

The github package can be used to install rcall from GitHub conveniently.

github install haghish/rcall

Author

E. F. Haghish
Center for Medical Biometry and Medical Informatics
University of Freiburg, Germany
[email protected]
http://www.haghish.com/packages/Rcall.php
@Haghish

Examples

The examples directory includes the torture test file that can serve as a good example.

Packages

No packages published

Languages

  • Stata 93.9%
  • R 5.8%
  • TeX 0.3%