Skip to content

econwang/Rcall

 
 

Repository files navigation

Rcall : seamless R in Stata

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
haghish@imbi.uni-freiburg.de
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 95.5%
  • R 4.2%
  • TeX 0.3%