Description Usage Arguments Details Value Author(s) References
View source: R/convertTxt2Xls.R
This function takes the file name(s) of one or more text files with tabular content and converts them to Microsoft Excel spreadsheets.
1 2 | convertTxt2Xls(file, sep = "\t", as.is=TRUE, header=TRUE, xls = "xlsx",
... )
|
file |
The name of the file (or character vector of file names) to be converted. |
sep |
The field separator character. Passed directly to the
|
as.is |
a logical value defining whether strings should be converted to
factors. Passed directly to the
|
header |
a logical value indicating whether the file contains (in the first
line) the column names. Passed directly to the
|
xls |
a string specifying the output format (either “xls” or “xlsx”). |
... |
further arguments passed to the
|
The function invokes the ‘WriteXLS’ function from the package ‘WriteXLS’.
No return value.
Johannes Rainer
http://bioinfo.i-med.ac.at
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.