On this R-data statistics page, you will find information about the CRANpackages data set which pertains to Growth of CRAN . The CRANpackages data set is found in the Ecdat R package. You can load the CRANpackages data set in R by issuing the following command at the console data("CRANpackages"). This will load the data into a variable called CRANpackages. If R says the CRANpackages data set is not found, you can try installing the package by issuing this command install.packages("Ecdat") and then attempt to reload the data. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the CRANpackages R data set. The size of this file is about 1,060 bytes.
Growth of CRAN
Data casually collected on the number of packages on the Comprehensive R Archive Network (CRAN) at different dates.
NOTE: This could change in the future. See Details below.
an ordered factor of the R version number primarily in use at the time. This was taken from archives of the major releases at https://svn.r-project.org/R/branches/R-1-3-patches/tests/internet.Rout.save, ... https://svn.r-project.org/R/branches/R-3-1-branch/tests/internet.Rout.save
an object of class
Date giving the date on which the count of the number of CRAN packages was determined.
an integer number of packages on the CRAN mirror checked on the indicated
A factor giving the source (person) who collected the data.
This seems to provide the most widely available source for data on the growth of CRAN, manually recorded by John Fox and Spencer Graves. For a discussion of these and related data, see Fox (2009).
For more detail, see the CRAN packages data on Github maintained by Hadley Wickham. This contains the description file of every package uploaded to CRAN prior to the date of Hadley's most recent update. The current maintainer of the
Ecfun packages would consider contributions along the following lines:
1. It might be nice to have a more complete dataset or datasets showing CRAN growth. This might include code fitting multiple models and predicting future growth with error bounds computed using Bayesian Model Averaging. These model fits might make an interesting addition to the examples in this help file. With a little more effort, it might make an interesting note for R Journal. Functions written to fit those models might be added to the
2. It might be nice to have a function in
Ecfun to download the CRAN packages data from Github and convert it to a format suitable for updating this dataset.
The current maintainer for
Ecfun (Spencer Graves) might be willing to accept code and documentation for this but is not ready to do it himself at the present time.
John Fox, "Aspects of the Social Organization and Trajectory of the R Project", R Journal, 1(2), Dec. 2009, 5-13. https://journal.r-project.org/archive/2009-2/RJournal_2009-2_Fox.pdf, accessed 2014-04-13.
plot(Packages~Date, CRANpackages, log='y')
# almost exponential growth
Dataset imported from https://www.r-project.org.