Learn R Programming

svMisc (version 0.9-70)

helpSearchWeb: Search web documents about R and R functions

Description

Retrieve web documents, messages in R mailing lists, or wiki containing apropos string.

Usage

helpSearchWeb(what, type = c("R", "archive", "wiki", "google"), browse = TRUE, msg = browse, ...)

Arguments

what
the string(s) to search. In case of several strings, or several words, any of these words are searched.
type
the search engine, or location to use.
browse
do we actually show the page in the Web browser? If type = "R", this argument is ignored and the result is always displayed in the Web browser.
msg
do we issue a message indicating that a page should be displayed shortly in the Web browser? If type = "R", this argument is ignored and a message is always displayed.
...
further arguments to format the result page in case of type = "R". These are the same arguments as for RSiteSearch().

Value

Returns the URL used invisibly (invoked for its side effect of opening the Web browser with the search result, when browse = TRUE).

See Also

RSiteSearch, help.search

Examples

Run this code
## Not run: 
# helpSearchWeb("volatility")                    # R site search, by default
# helpSearchWeb("volatility", type = "google")   # Google search
# helpSearchWeb("volatility", type = "archive")  # In the mailing list archive
# helpSearchWeb("median mean", type = "wiki")    # In the R Wiki
# ## End(Not run)

Run the code above in your browser using DataLab