Thanks to all who responded, those were very helpful! Henrique's solution (below) gets right to it & counts whatever repositories you have selected. For all repositories the number is 2,758, so there must have been a few duplicates in my manual count.
I'm trying make the case to users of other stat packages that R offers a lot. However, I don't want to overstate the case. Does anyone know about the packages with repteticious sounding names like the 19 bvbovines? I know technically they are different packages, but are they minor tweaks or would you count them as different packages in this context? Thanks, Bob > -----Original Message----- > From: Henrique Dallazuanna [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 12, 2008 9:58 AM > To: Muenchen, Robert A (Bob) > Cc: [EMAIL PROTECTED] > Subject: Re: [R] How many R packages? > > x <- available.packages() > length(unique(rownames(x))) > > On 12/02/2008, Muenchen, Robert A (Bob) <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] > > Web: http://oit.utk.edu/scc, > > News: http://listserv.utk.edu/archives/statnews.html > > ========================================================= > > > > ______________________________________________ > > 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 ______________________________________________ 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.