[R-SIG-Mac] 2.7.2 compiled on os x 10.3.9 now how do I get R to run by just typing R

Sean Davis sdavis2 at mail.nih.gov
Mon Sep 22 14:26:48 CEST 2008


On Mon, Sep 22, 2008 at 12:09 AM, stephen sefick <ssefick at gmail.com> wrote:
> 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,

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



More information about the R-SIG-Mac mailing list