[Rd] R CMD config --version

Dirk Eddelbuettel edd at debian.org
Sat Oct 16 22:46:33 CEST 2004


On Sat, Oct 16, 2004 at 04:12:10PM -0400, Paul Gilbert wrote:
> Am I missing something or is this a bug? I was expecting it to give the 
> version of R, i.e. "R-2.0.0".
> 
> ~:R CMD config --version
> R configuration information retrieval script 1.3
> 
> Copyright (C) 2002 The R Core Development Team.
> This is free software; see the GNU General Public Licence version 2
> or later for copying conditions.  There is NO warranty.

How about something homegrown:

edd at homebud:~> R --version | head -1 | awk '{printf("%s-%s\n", $1, $2)}'
R-2.0.0

Hth, Dirk

-- 
Those are my principles, and if you don't like them... well, I have others.
                                                -- Groucho Marx



More information about the R-devel mailing list