Retrieve web documents, or search with Google for what
string.
The string(s) to search. In case of several strings, or several words, any of these words are searched.
The search engine, or location to use.
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.
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()
.
Returns the URL used invisibly (invoked for its side effect of
opening the Web browser with the search result, when browse = TRUE
).
The RSiteSearch()
function in the 'utils' package is used when
type = "R"
.
if (FALSE) { # \dontrun{
search_web("volatility") # R site search, by default
search_web("volatility", type = "google") # Google search
} # }