[R] retrieve version information for a package?

Gabor Grothendieck ggrothendieck at gmail.com
Mon Oct 22 18:46:19 CEST 2007


Try:

packageDescription("affy")$Version

On 10/22/07, Yupu Liang <liang at cbio.mskcc.org> wrote:
> Hi,
>
> I am looking for a way to find out the version information of
> installed R packages.
> ex:
>
>  >library(affy)
>  >SOME_COMMAND_FOR_VERSION(affy)
>
> I know I can do either getRversion() or R.Version() could give me the
> version of R. I assume there must be a way for me to get version
> information for the add-on paclages,right?
>
> Thanks!
>
> Yupu
>
> ______________________________________________
> 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.
>



More information about the R-help mailing list