print.findFn {sos} | R Documentation |
print a findFn object
Description
Print a findFn
object to a file and pass
it to a web browser
Usage
## S3 method for class 'findFn'
print(x, where, title,
openBrowser = TRUE, template, ...)
Arguments
x |
An object of class |
where |
a character vector interpreted as follows: If If |
title |
An optional title to give the HTML file. Default is to use the original query string. |
openBrowser |
logical; if |
template |
Template file used by |
... |
ignored |
Value
The full path and name of the file created is returned invisibly.
Author(s)
Sundar Dorai-Raj, Spencer Graves, Romain Francois, Uwe Ligges
See Also
findFn
,
RSiteSearch
,
browseURL
brew
Examples
splineSearch <- try(findFn("spline", maxPages = 2))
if(!inherits(splineSearch, 'try-error')){
if(!CRAN()){
print(splineSearch, 'console')
splineSearch # all columns in a browser
}
webScr <- try(findFn('web scraping'))
if(!inherits(webScr, 'try-error')){
if(!CRAN()){
print(webScr)
}
}
}