write.delim | R Documentation |
A simple wrapper for write.table with the same options as read.delim
write.delim(df, file, quote = FALSE, row.names = FALSE, sep = "\t", ...)
df |
a dataframe. |
file |
outputfile path. |
quote |
should elements of the dataframe be quoted for output. |
row.names |
should the output include rownames. |
sep |
the delimiter between fields. |
... |
other parameters passed to write.table. |
A tab delimited text file
read.delim
## Not run:
x <- data.frame(a = I("a \" quote"), b = pi)
write.delim(x, file = "foo.tab")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.