Hello, I am going to install the new version of R 2.14.1. After the installation, I want to copy my installed packages to the new library. But since over time I forgot which ones I installed I want to get a list of all the packages I installed among the packages installed initially by the R-installer. Is this possible? Cem Cem Girit, PhD Biopticon Corporation 182 Nassau Street, Suite 204 Princeton, NJ 08542 Tel: (609)-853-0231 Email:girit@biopticon.com [[alternative HTML version deleted]]
I think the installed.packages() function can give you what you need, specifically look at the priority argument. Also check this out http://stackoverflow.com/questions/1401904/painless-way-to-install-a-new-version-of-r Michael On Sat, Nov 5, 2011 at 9:37 AM, Cem Girit <girit at biopticon.com> wrote:> Hello, > > > > ? ? ? ? ? ? ? ?I am going to install the new version of R 2.14.1. After the > installation, I want to copy my installed packages to the new library. But > since over time I forgot which ones I installed I want to get a list of all > the packages I installed among the packages installed initially by the > R-installer. Is this possible? > > > > Cem > > > > Cem Girit, PhD > > > > Biopticon Corporation > > 182 Nassau Street, Suite 204 > > Princeton, NJ 08542 > > Tel: (609)-853-0231 > > Email:girit at biopticon.com > > > > > ? ? ? ?[[alternative HTML version deleted]] > > ______________________________________________ > 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. >
Running rownames(installed.packages()) will tell you the names of all packages of the version of R in which you are running the command. http://cran.r-project.org/doc/FAQ/R-FAQ.html#R-Add_002dOn-Packages tells you the names of the packages which were installed with R itself. On Nov 5, 2011, at 2:37 PM, Cem Girit wrote:> Hello, > > > > I am going to install the new version of R 2.14.1. After the > installation, I want to copy my installed packages to the new library. But > since over time I forgot which ones I installed I want to get a list of all > the packages I installed among the packages installed initially by the > R-installer. Is this possible? > > > > Cem > > > > Cem Girit, PhD > > > > Biopticon Corporation > > 182 Nassau Street, Suite 204 > > Princeton, NJ 08542 > > Tel: (609)-853-0231 > > Email:girit at biopticon.com > > > > > [[alternative HTML version deleted]] > > ______________________________________________ > 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.-------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 455 bytes Desc: Message signed with OpenPGP using GPGMail URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20111105/48a7999b/attachment.bin>
Well, you could simply use everything from the old library and just apply update.packages(checkBuilt=TRUE) in order to get the packages updated for the new release. Uwe Ligges On 05.11.2011 19:00, Erich Neuwirth wrote:> Running > rownames(installed.packages()) > will tell you the names of all packages of the version of R in which you are running the command. > http://cran.r-project.org/doc/FAQ/R-FAQ.html#R-Add_002dOn-Packages > tells you the names of the packages which were installed with R itself. > > > > > On Nov 5, 2011, at 2:37 PM, Cem Girit wrote: > >> Hello, >> >> >> >> I am going to install the new version of R 2.14.1. After the >> installation, I want to copy my installed packages to the new library. But >> since over time I forgot which ones I installed I want to get a list of all >> the packages I installed among the packages installed initially by the >> R-installer. Is this possible? >> >> >> >> Cem >> >> >> >> Cem Girit, PhD >> >> >> >> Biopticon Corporation >> >> 182 Nassau Street, Suite 204 >> >> Princeton, NJ 08542 >> >> Tel: (609)-853-0231 >> >> Email:girit at biopticon.com >> >> >> >> >> [[alternative HTML version deleted]] >> >> ______________________________________________ >> 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. > > > > ______________________________________________ > 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.