search.cran | R Documentation |
Can be useful for trying to find new packages for a particular purpose. No need for these packages to be installed or loaded. Further searching can be done using utils::RSiteSearch()
search.cran(txt, repos = "", all.repos = FALSE)
txt |
text to search for, a character vector, not case-sensitive |
repos |
repository(s) (CRAN mirror) to use, "" defaults to getOption("repos") |
all.repos |
logical, if TRUE, then use all available repositories from getRepositories() |
list of hits for each keyword (txt)
Nicholas Cooper njcooper@gmx.co.uk
## not run # repos <- "http://cran.ma.imperial.ac.uk/" # OR: repos <- getOption("repos") ## not run # search.cran("draw") ## not run # search.cran(c("hmm", "markov", "hidden"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.