Learn R Programming

sos (version 2.0-0)

writeFindFn2xls: Write a findFn object to an Excel file

Description

Write a findFn object to an Excel file with sheets for PackageSum2, the findFn table, and the call attribute of the findFn object.

Usage

writeFindFn2xls(x,
       file.=paste(deparse(substitute(x)), 'xls', sep='.'),
       csv, ...)
findFn2xls(x,
       file.=paste(deparse(substitute(x)), 'xls', sep='.'),
       csv, ...)

Arguments

x

An object of class findFn

file.

Name of Excel file to create. If a file of this name already exists, it will be overwritten.

csv

logical: if TRUE, write three *.csv files rather than one *.xls file. Default is FALSE if software is available to write a *.xls file and TRUE otherwise.

optional arguments to write.csv used if

Value

The name of the file created is returned invisibly.

Details

findFn2xls is an alias for writeFindFn2xls; both functions do the same thing.

See Also

findFn, odbcConnect, sqlSave, odbcClose WriteXLS

Examples

Run this code
# NOT RUN {
splineSearch <- findFn("spline", maxPages = 1)

writeFindFn2xls(splineSearch)

findFn2xls(splineSearch, csv=TRUE)
# }

Run the code above in your browser using DataLab