From edd at debian.org  Sat Oct 16 22:46:33 2004
From: edd at debian.org (Dirk Eddelbuettel)
Date: Sat Oct 16 22:46:48 2004
Subject: [Rd] R CMD config --version
In-Reply-To: <4171809A.8060209@bankofcanada.ca>
References: <4171809A.8060209@bankofcanada.ca>
Message-ID: <20041016204633.GA14515@sonny.eddelbuettel.com>

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@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


[Rd] R CMD config --version
Dirk Eddelbuettel