View source: R/writeFindFn2xls.R
writeFindFn2xls | R Documentation |
Write a findFn
object to an Excel
file with sheets for PackageSum2
,
the findFn
table, and the call
attribute of the findFn
object.
writeFindFn2xls(x,
file.=paste(deparse(substitute(x)), 'xls',
sep='.'), csv, ...)
findFn2xls(x,
file.=paste(deparse(substitute(x)), 'xls',
sep='.'), csv, ...)
x |
An object of class |
file. |
Name of Excel file to create. If a file of this name already exists, it will be overwritten. |
csv |
logical: if |
... |
optional arguments to |
findFn2xls
is an alias for
writeFindFn2xls
; both
functions do the same thing.
The name of the file created is returned invisibly.
Spencer Graves with help from Dirk Eddelbuettel, Gabor Grothendiek, and Marc Schwartz.
findFn
,
odbcConnect
,
sqlSave
,
odbcClose
WriteXLS
splineSearch <- try(findFn("spline", maxPages = 1))
if(!inherits(splineSearch, 'try-error')){
writeFindFn2xls(splineSearch)
findFn2xls(splineSearch, csv=TRUE)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.