[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: New version of -rsource- on SSC

From   David Airey <david.airey@Vanderbilt.Edu>
Subject   Re: st: New version of -rsource- on SSC
Date   Wed, 3 Dec 2008 09:30:45 -0600

Works fine.


I typed "rsource using bxd40_7.R, roptions(--vanilla)" and got the desired output to screen and PDFs of plots to Rplots.pdf.


On Dec 3, 2008, at 8:41 AM, Newson, Roger B wrote:

Thanks to Kit Baum, a new version of the -rsource- package is now
available for download from SSC. In Stata, use the -ssc- or - adoupdate-
commands to do this.

The -rsource- package is described as below my signature on my website. The new version is updated to Stata Version 10. However, users of Stata
9 can still download the Stata 9 version from my website by typing

net from "";

in Stata, and selecting -rsource-.

The new version also incorporates a new default setting for the
-rpath()- option (if the global macro -Rterm_path- is not specified),
which is now -rpath("/usr/bin/r")- in non-Windows operating
environments, and is still -rpath("Rterm.exe")- in Windows operation
environments. I have not yet tested this improvement in non-Windows
environments, so please let me know if there are any problems. I would
like to thank Kit Baum for sugggesting this improvement, and David Airey
and Michael Hanson for raising the platform-independence issue.

Best wishes


Roger B Newson BSc MSc DPhil
Lecturer in Medical Statistics
Respiratory Epidemiology and Public Health Group
National Heart and Lung Institute
Imperial College London
Royal Brompton Campus
Room 33, Emmanuel Kaye Building
1B Manresa Road
London SW3 6LR
Tel: +44 (0)20 7352 8121 ext 3381
Fax: +44 (0)20 7351 8322
Web page:
Departmental Web page:

Opinions expressed are those of the author, not of the institution.

package rsource from

     rsource: Run R from inside Stata using an R source file

The program rsource runs the Rterm command of R from inside Stata,
     using an R source file, if R is installed on the user's system.
     The output and/or the source file can be listed to the Stata log
     and/or to the Stata Results window in an interactive Stata
     If the R directory on the user's system is not on the user's
     path, then the user must set the global macro Rterm_path to
     the path for the Rterm command, possibly in the file
     (see on-line help for details).

     Author: Roger Newson
     Distribution-Date: 02december2008
     Stata-Version: 10

INSTALLATION FILES                                  (click here to
(click here to return to the previous screen)

*   For searches and help try:

*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index