R Package Downloads
R Package Downloads Using the following snippet of code in R, after installing the ggplot and dlstats libraries, one can plot how often a given set of packages has been downloaded.
Install install.packages("ggplot2") install.packages("dlstats") Use library(ggplot2) library(dlstats) # Here I use my packages as an example, you can check any packages on CRAN x <- cran_stats(c("BigQuic", "DCD", "DiffNet", "AssocAFC", "famSKATRC", "RGBM")) ggplot(x, aes(end, downloads, group=package, color=package)) + geom_line() + geom_point(aes(shape=package)) + xlab("Time") + ylab("Downloads") png(width = 600, height = 400) ggsave(filename = "R_Package_Downloads.