Skip to content

2.7.2 compiled on os x 10.3.9 now how do I get R to run by just typing R

2 messages · stephen sefick, Sean Davis

#
I have compiled R 2.7.2 on mac 10.3.9 and can run it within an xterm
window.  I compiled it with the --without-aqua so I am only using x11.
 I don't have access to the x11 device within the terminal window, but
it does work when running R from within x term.

if I move into this directory:
cd ~
cd /Library/Frameworks/R.framework/Versions/2.7/Resources

and then type
.
/R

R starts up- how do I get it to work from anywhere with just issuing
the command R at the command prompt.  Thanks for your help,
#
On Mon, Sep 22, 2008 at 12:09 AM, stephen sefick <ssefick at gmail.com> wrote:
Make a soft link from that R to /usr/bin/R.  As long as /usr/bin is on
your PATH (which you can check by typing echo $PATH), this will work
just fine.  The command for making links on the filesystem is "ln".

Sean