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

Re: st: re: invoking R from Stata

From   Michael Hanson <>
Subject   Re: st: re: invoking R from Stata
Date   Mon, 01 Dec 2008 18:55:59 -0500

On Dec 1, 2008, at 6:08 PM, Kit Baum wrote:

No doubt by changing the Rterm_options you can alter the way in which it produces output. Note that under *nix there is no separate executable Rterm; it is just the binary executable r. When you install R on Mac OS X, you get, which is the executable that provides the GUI, but under the hood it calls /usr/bin/r.

Thanks, Kit: that is useful information that I was not aware of. Indeed, the help for version 2.7.2 [1] suggests the following:

"To use R you probably need to add a symbolic link on your system as the R binary is located inside the framework. Suppose you have the / usr/local/bin directory on your system (if you do not have one, you can use /usr/bin instead) you should just type in your Terminal (a root password is required)

sudo ln -s /Library/Frameworks/R.framework/Resources/R /usr/ local/bin/R Assuming that you have /usr/local/bin in your PATH environment variable, you will be able to launch R from any location on your system just by typing R."

-- Mike

[1] I have not updated to version 2.8.0 due to some time series routines that do not yet execute properly with version 2.8.0.
*   For searches and help try:

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