Learn R Programming

RWsearch (version 5.2.0)

s_sos: Search Packages and Functions on R-Project Help pages and RDocumentation

Description

s_sos searchs in all R documentation packages and functions that contain one or several keywords, open the default browser and display the results in two html pages, one for the package::functions and one for the package::vignettes. s_sos usually find more results than s_crandb as it goes deeper in the documentation, down to the function level. An internet connection is required to reach the website https://search.r-project.org. s_sos is a minimal wrapper of the function sos::findFn. Use this function if you need advanced search options.

s_man sends a query to the same search engine but the results is returned in a less edited format than s_sos. Use the function p_man if your search is about a package and not a function.

Usage

s_sos(..., char = NULL)

s_man(..., char = NULL)

Arguments

...

any format recognized by cnsc, except list. One or several keywords.

char

(name to) a character vector. Use this argument if ... fails or if you call the function from another function. If used, argument ... is ignored.

See Also

Examples

Run this code
## Search using standard or non-standard content
## and display the results in a browser.
if (interactive()) {
s_sos("chemical reaction")
(res <- s_sos(distillation))
tail(data.frame(res))
s_man("cran_incoming")
}

Run the code above in your browser using DataLab