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
try sessionInfo() 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. >-- Weiwei Shi, Ph.D Research Scientist GeneGO, Inc. "Did you always know?" "No, I did not. But I believed..." ---Matrix III
Henrique Dallazuanna
2007-Oct-22 16:37 UTC
[R] retrieve version information for a package?
packageDescription(pkg="affy")$Version On 22/10/2007, Yupu Liang <liang@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@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. >-- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40" S 49° 16' 22" O [[alternative HTML version deleted]]
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.
>