print.findFn | R Documentation |
Print a findFn
object to a file and pass
it to a web browser
## S3 method for class 'findFn'
print(x, where, title,
openBrowser = TRUE, template, ...)
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 |
The full path and name of the file created is returned invisibly.
Sundar Dorai-Raj, Spencer Graves, Romain Francois, Uwe Ligges
findFn
,
RSiteSearch
,
browseURL
brew
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)
}
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.