IDEAS home Printed from
   My bibliography  Save this article

Seamless interactive language interfacing between R and Stata


  • E.F. Haghish

    () (University of Göttingen)


In this article, I propose a new approach to language interfacing for statistical software by allowing automatic interprocess communication between R and Stata. I advocate interactive language interfacing in statistical software by automatizing data communication. I introduce the rcall package and provide examples of how the R language can be used interactively within Stata or embed- ded into Stata programs using the proposed approach to interfacing. Moreover, I discuss the pros and cons of object synchronization in language interfacing.

Suggested Citation

  • E.F. Haghish, 2019. "Seamless interactive language interfacing between R and Stata," Stata Journal, StataCorp LP, vol. 19(1), pages 61-82, March.
  • Handle: RePEc:tsj:stataj:v:19:y:2019:i:1:p:61-82
    DOI: 10.1177/1536867X19830891
    Note: to access software from within Stata, net describe

    Download full text from publisher

    File URL:
    Download Restriction: no


    Blog mentions

    As found by, the blog aggregator for Economics research:
    1. Rita Faria’s journal round-up for 29th July 2019
      by Rita Faria in The Academic Health Economists' Blog on 2019-07-29 11:00:29


    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:tsj:stataj:v:19:y:2019:i:1:p:61-82. See general information about how to correct material in RePEc.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: (Christopher F. Baum) or (Lisa Gilmore). General contact details of provider: .

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service hosted by the Research Division of the Federal Reserve Bank of St. Louis . RePEc uses bibliographic data supplied by the respective publishers.