[R] Running R

Barry Rowlingson B.Rowlingson at lancaster.ac.uk
Wed May 31 17:40:09 CEST 2006


Jonathan Baron wrote:

>>5. Copied the Script File R from directory R-2.3.0/bin/R to
>>/usr/local/bin/R.
>>6. Typed  R
> 
> 
> The instructions say that you should use
> 
> make install
> 
> unless you want to run R from the directory into which you
> unpacked it.
>  

  Another idea is to have a symlink (here assuming your R was unpacked 
in /usr/local/src/R-2.3.0):

ln -s /usr/local/src/R-2.3.0/bin/R /usr/local/bin/R

  which essentially runs R from that R-2.3.0 directory.

But the 'make install' solution has the advantage that you can delete 
the source directory where you did the make step to clear out the source 
and save some disk space.

Barry



More information about the R-help mailing list