[R] How to Find Version of Installed Library?

David Winsemius dwinsemius at comcast.net
Mon Mar 1 19:19:23 CET 2010


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



More information about the R-help mailing list