From dj@research.bell-labs.com  Thu Nov  7 21:44:58 2002
From: dj@research.bell-labs.com (David James)
Date: Thu, 7 Nov 2002 16:44:58 -0500
Subject: checking package version
In-Reply-To: <3DCAD7B0.9BDB6F68@bank-banque-canada.ca>; from pgilbert@bank-banque-canada.ca on Thu, Nov 07, 2002 at 04:14:24PM -0500
References: <3DCAD7B0.9BDB6F68@bank-banque-canada.ca>
Message-ID: <20021107164458.A19968@jessie.research.bell-labs.com>

Paul Gilbert wrote:
> I would like to check the version of a package from a running R session. Is
> there a recommended/preferred, system independent way to do this?

I use 

> package.description("eda", fields="Version")
[1] "1.5.1"

but you may still need to parse the string to get major/minor details.

> 
> Paul Gilbert
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
> Send "info", "help", or "[un]subscribe"
> (in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._

-- 
David A. James
Statistics Research, Room 2C-253            Phone:  (908) 582-3082       
Bell Labs, Lucent Technologies              Fax:    (908) 582-3340
Murray Hill, NJ 09794-0636
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


checking package version
David James