Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
how many R packages on CRAN mention ecology or evolution in their descriptions?
pkg <- CRANsearcher:::getPackages()
strings <- paste(pkg[, "Title"], pkg[, "Description"])
idx <- grep(" ecolog*| evolut*", strings, = TRUE)
# [1] 236
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment