| writeDataFrame.data.frame | R Documentation |
Writes a data.frame to tabular text file with an optional header.
## S3 method for class 'data.frame'
writeDataFrame(data, file, path=NULL, sep="\t", quote=FALSE, row.names=FALSE,
col.names=!append, ..., header=list(), createdBy=NULL,
createdOn=format(Sys.time(), format = "%Y-%m-%d %H:%M:%S %Z"),
nbrOfRows=nrow(data), headerPrefix="# ", headerSep=": ", append=FALSE, overwrite=FALSE)
data |
A |
file |
A |
path |
The directory where the file will be written. |
sep, quote, row.names, col.names, ... |
Additional arguments
passed to |
header |
An optional named |
createdBy, createdOn, nbrOfRows |
If non- |
headerPrefix |
A |
headerSep |
A |
append |
If |
overwrite |
If |
Returns (invisibly) the pathname to the file written
(or the connection written to).
Henrik Bengtsson
write.table.
readTable().
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.