I thought that the unique function would eliminate duplicate package names. Is there a better way to count the number of packages?
Thanks, Bob -----Original Message----- From: Gabor Grothendieck [mailto:ggrothendi...@gmail.com] Sent: Wednesday, November 25, 2009 10:40 AM To: Muenchen, Robert A (Bob) Cc: r-help@r-project.org Subject: Re: [R] R Packages Crack the 3,000 Mark! Note that: - there are also 199 R packages on google code: http://code.google.com/hosting/search?q=label:R - some (many?) of the packages on R-Forge and on google code are also on CRAN On Wed, Nov 25, 2009 at 9:11 AM, Muenchen, Robert A (Bob) <muenc...@utk.edu> wrote: > Hi Liviu, > > Yes, I selected all the repositories on the list, including things like CRAN > (extras), the four Bioconductor (BioC) sites, and R-Forge. > > Cheers, > Bob > > -----Original Message----- > From: Liviu Andronic [mailto:landronim...@gmail.com] > Sent: Wednesday, November 25, 2009 4:47 AM > To: Muenchen, Robert A (Bob) > Cc: r-help@r-project.org > Subject: Re: [R] R Packages Crack the 3,000 Mark! > > Hello > > > On 11/24/09, Muenchen, Robert A (Bob) <muenc...@utk.edu> wrote: >> I don't know if this has been reported before, but according to Henrique >> Dallazuanna's program (below) the number of R packages has exceeded the >> 3,000 mark. The count today is 3,175. I ran this just a couple of months >> ago & the number was still in the high 2,000s, so it must be fairly >> recent. I think this represents about 50% growth in the last year. Not >> bad! >> > Performing the same here I get only 2000+ packages. >> myPackageNames <- available.packages() > --- Please select a CRAN mirror for use in this session --- > Loading Tcl/Tk interface ... done >> length(unique( rownames(myPackageNames) )) > [1] 2058 > > And CRAN [1] reports a similar number. Perhaps you have some > non-standard repositories configured? > Liviu > > [1] http://cran.r-project.org/web/packages/ > ______________________________________________ > 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. > ______________________________________________ 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.