[R-SIG-Mac] Rscript

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue May 27 07:48:07 CEST 2008


On Mon, 26 May 2008, Don MacQueen wrote:

> Relative to R 2.2.1, yes it is new.
>
> A current NEWS file (available from CRAN) should indicate the version of R 
> with which it was introduced.

R 2.5.0, April 2007.


>
> -Don
>
> At 8:42 PM -0400 5/26/08, Carl Witthoft wrote:
>> 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.
>>> 
>> 
>> _______________________________________________
>> R-SIG-Mac mailing list
>> R-SIG-Mac at stat.math.ethz.ch
>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>
>
> -- 
> ---------------------------------
> Don MacQueen
> Lawrence Livermore National Laboratory
> Livermore, CA, USA
> 925-423-1062
> macq at llnl.gov
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-SIG-Mac mailing list