Dear All, Sorry for the trivial question, but if you are using Linux and want to know the version of your installed libraries, what are you supposed to do? library() just tells you what R libraries you have installed on your system, but not their version number. Cheers Lorenzo
On 01.03.2010 18:58, Lorenzo Isella wrote:> Dear All, > Sorry for the trivial question, but if you are using Linux and want to > know the version of your installed libraries,I think you mean the version of your installed *packages*, since R libraries do not have version numbers.> what are you supposed to do? > library() just tells you what R libraries you have installed on your > system, but not their version number.For one package, you get an oveviwe using help(package="name") or condensed packageDescription("name") or more condensed packageDescription("name")$Version For a list of all installed packages including version numbers: installed.packages() Uwe Ligges> Cheers > > Lorenzo > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.
On 3/1/10, Lorenzo Isella <lorenzo.isella at gmail.com> wrote:> Sorry for the trivial question, but if you are using Linux and want to know > the version of your installed libraries, what are you supposed to do? >Load the package and then sessionInfo(). Liviu
On Mar 1, 2010, at 12:58 PM, Lorenzo Isella wrote:> Dear All, > Sorry for the trivial question, but if you are using Linux and want > to know the version of your installed libraries, what are you > supposed to do? > library() just tells you what R libraries you have installed on your > system, but not their version number.sessionInfo() #would give the currently loaded packages ?installed.packages installed.packages()[ ,"Version"] # which for me is a rather long list.> Cheers > > Lorenzo > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.David Winsemius, MD Heritage Laboratories West Hartford, CT