convertTxt2Xls: Convert a table in text format to an Excel table

Description Usage Arguments Details Value Author(s) References

View source: R/convertTxt2Xls.R

Description

This function takes the file name(s) of one or more text files with tabular content and converts them to Microsoft Excel spreadsheets.

Usage

1
2
convertTxt2Xls(file, sep = "\t", as.is=TRUE, header=TRUE, xls = "xlsx",
... )

Arguments

file

The name of the file (or character vector of file names) to be converted.

sep

The field separator character. Passed directly to the read.table function.

as.is

a logical value defining whether strings should be converted to factors. Passed directly to the read.table function.

header

a logical value indicating whether the file contains (in the first line) the column names. Passed directly to the read.table function.

xls

a string specifying the output format (either “xls” or “xlsx”).

...

further arguments passed to the read.table function.

Details

The function invokes the ‘WriteXLS’ function from the package ‘WriteXLS’.

Value

No return value.

Author(s)

Johannes Rainer

References

http://bioinfo.i-med.ac.at


jotsetung/unsoRted documentation built on May 19, 2019, 9:42 p.m.