[R-SIG-Mac] Rscript

Carl Witthoft carl at witthoft.com
Tue May 27 02:42:05 CEST 2008


So dumb question, but is Rscript relatively new?  I've got R v2.2.1 
loaded on my G4 iMac w/ 10.3.9 because that appeared to be the latest 
version which is compiled for my OS,  and there is no Rscript installed 
anywhere.

Carl


> Message: 2
> Date: Mon, 26 May 2008 12:39:45 +0100 (BST)
> From: Prof Brian Ripley <ripley at stats.ox.ac.uk>
> Subject: Re: [R-SIG-Mac] Getting arguments from command line to run a
> 	R script
> To: Etienne Toffin <etoffin at ulb.ac.be>
> Cc: r-sig-mac at stat.math.ethz.ch
> Message-ID: <alpine.LFD.1.10.0805261233450.7298 at gannet.stats.ox.ac.uk>
> Content-Type: text/plain; charset="windows-1252"; Format="flowed"
> 
> This is not specific to Mac OS X.
> 
> See ?commandArgs and the --args argument to R.
> 
> Something that is specific to Mac OS X is that the most convenient way to 
> do this is to use Rscript, and I understand that is not installed into the 
> standard path on the CRAN binary.  It is I think at
> 
> /Library/Frameworks/R.framework/Resources/bin/Rscript
> 
> See ?Rscript for how to use it.
>



More information about the R-SIG-Mac mailing list