Re: [R] How many R packages?

From: Muenchen, Robert A (Bob) <muenchen_at_utk.edu>
Date: Tue, 12 Feb 2008 10:54:12 -0500

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:wwwhsd_at_gmail.com]
> Sent: Tuesday, February 12, 2008 9:58 AM
> To: Muenchen, Robert A (Bob)
> Cc: r-help_at_stat.math.ethz.ch
> Subject: Re: [R] How many R packages?
>
> 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



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. Received on Tue 12 Feb 2008 - 16:12:33 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 12 Feb 2008 - 17:30:13 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive