Hi All, I searched around to find the number of R packages currently available, but didn't find anything, so I choose all repositories & told it to install. The list contained about 2,856 (correcting roughly for those installed). But the list includes repetitions such as 19 names that begin with "bvbovine". Selecting only CRAN and CRAN(extras) I get 1,344. Is there an easier way to determine the total number of R packages available? Thanks, Bob ========================================================Bob Muenchen (pronounced Min'-chen), Manager Statistical Consulting Center U of TN Office of Information Technology 200 Stokely Management Center, Knoxville, TN 37996-0520 Voice: (865) 974-5230 FAX: (865) 974-4810 Email: muenchen at utk.edu Web: http://oit.utk.edu/scc, News: http://listserv.utk.edu/archives/statnews.html =========================================================
1305 by my count. Go to CRAN and click on Packages. Then copy and paste the list into your text processor and look at the line count. Charles Annis, P.E. Charles.Annis at StatisticalEngineering.com phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -----Original Message----- From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of Muenchen, Robert A (Bob) Sent: Tuesday, February 12, 2008 9:37 AM To: r-help at stat.math.ethz.ch Subject: [R] How many R packages? Hi All, I searched around to find the number of R packages currently available, but didn't find anything, so I choose all repositories & told it to install. The list contained about 2,856 (correcting roughly for those installed). But the list includes repetitions such as 19 names that begin with "bvbovine". Selecting only CRAN and CRAN(extras) I get 1,344. Is there an easier way to determine the total number of R packages available? Thanks, Bob ========================================================Bob Muenchen (pronounced Min'-chen), Manager Statistical Consulting Center U of TN Office of Information Technology 200 Stokely Management Center, Knoxville, TN 37996-0520 Voice: (865) 974-5230 FAX: (865) 974-4810 Email: muenchen at utk.edu Web: http://oit.utk.edu/scc, News: http://listserv.utk.edu/archives/statnews.html ======================================================== ______________________________________________ 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.
x <- available.packages() length(unique(rownames(x))) On 12/02/2008, Muenchen, Robert A (Bob) <muenchen at utk.edu> wrote:> Hi All, > > I searched around to find the number of R packages currently available, > but didn't find anything, so I choose all repositories & told it to > install. The list contained about 2,856 (correcting roughly for those > installed). But the list includes repetitions such as 19 names that > begin with "bvbovine". > > Selecting only CRAN and CRAN(extras) I get 1,344. > > Is there an easier way to determine the total number of R packages > available? > > Thanks, > Bob > > ========================================================> Bob Muenchen (pronounced Min'-chen), Manager > Statistical Consulting Center > U of TN Office of Information Technology > 200 Stokely Management Center, Knoxville, TN 37996-0520 > Voice: (865) 974-5230 > FAX: (865) 974-4810 > Email: muenchen at utk.edu > Web: http://oit.utk.edu/scc, > News: http://listserv.utk.edu/archives/statnews.html > ========================================================> > ______________________________________________ > 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. >-- Henrique Dallazuanna Curitiba-Paran?-Brasil 25? 25' 40" S 49? 16' 22" O
?packageStatus gives you relevant information. Something like: options(repos = "http://your.favorite.cran.mirror") pS <- packageStatus() pS And there's also a summary method with more detailed information: summary(pS) HTH, Fernando Mayer. Muenchen, Robert A (Bob) escreveu:> Hi All, > > I searched around to find the number of R packages currently available, > but didn't find anything, so I choose all repositories & told it to > install. The list contained about 2,856 (correcting roughly for those > installed). But the list includes repetitions such as 19 names that > begin with "bvbovine". > > Selecting only CRAN and CRAN(extras) I get 1,344. > > Is there an easier way to determine the total number of R packages > available? > > Thanks, > Bob > > ========================================================> Bob Muenchen (pronounced Min'-chen), Manager > Statistical Consulting Center > U of TN Office of Information Technology > 200 Stokely Management Center, Knoxville, TN 37996-0520 > Voice: (865) 974-5230 > FAX: (865) 974-4810 > Email: muenchen at utk.edu > Web: http://oit.utk.edu/scc, > News: http://listserv.utk.edu/archives/statnews.html > ========================================================> > ______________________________________________ > 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. >