Uploaded by maxwellnuamah

packagefinder

advertisement
Searching CRAN with packagefinder: : CHEAT SHEET
CONSOLE
RSTUDIO ADD-IN
findPackage(keywords, mode = "or", case.sensitive = FALSE, always.sensitive = NULL,
weights = c(2,2,1,2), display = "viewer", results.longdesc = FALSE, limit.results = 15, silent =
FALSE, index = NULL, advanced.ranking = TRUE, return.df = FALSE, clipboard = FALSE)
Automatically installed with the
package.
Provides a graphical interface to the
findPackage() and whatsNew()
functions
Most important arguments
keywords
mode
Outputs
Word or vector of words to
search for
Find packages with every
keyword ("and") or with any
of the keywords ("or")?
Will be overruled if keywords
contain logical operators like
keywords = "X and Y"
case.sensitive
always.sensitive
limit.results
Case-sensitive search?
Vector of words that will
always be treated as casesensitive, e.g. abbreviations
Modify options,
preserved for R session
Install selected
packages
Mark and
review later
Options as in findPackage()
How many results to display
in console or viewer?
Click for PDF manual,
CRAN page, GitHub repo
Open details
display
display = "console"
display = "viewer"
Already installed?
If not, install
display = "browser"
ADDITIONAL FUNCTIONS
return.df = TRUE Return results as dataframe
Examples
clipboard = TRUE Copy results to clipboard
> findPackage("parameters", mode = "and", always.sensitive = "SEM")
> findPackage("xml", display = "browser")
Joachim Zuckarelli 2020
Licensed under the Create Commons 4.0 License
joachim@zuckarelli.de
Show new packages on CRAN
packageDetails(package)
Show details of a CRAN package in
the console
lastResults(package = "viewer")
> findPackage("meta and regression")
> my.resuslts <- findPackage(c("meta", "regression"), "and", return.df = TRUE)
whatsNew(last.days = 0)
fp(…)
go(package, where.to = "details")
jsugarelli
Show results of last search again
Short hand for findPackage(…)
Install CRAN package, show PDF
manual, details or package website
github.com/jsugarelli/packagefinder
Topics in R
Download