write_table | R Documentation |
This is most useful for working with IRkernl in Jupyter notebooks. If a data.table is provided, then fwrite is used; otherwise, write.table is used.
write_table( df, file, sep = "\t", quote = FALSE, row.names = FALSE, verbose = TRUE, ... )
df |
data.frame or data.table to write out |
file |
Output file path |
sep |
the field separator string. Values within each row of x are separated by this string |
quote |
a logical value (TRUE or FALSE) or a numeric vector. If TRUE, any character or factor columns will be surrounded by double quotes. |
row.names |
either a logical value indicating whether the row names of x are to be written along with x, or a character vector of row names to be written. |
verbose |
verbose messaging? |
... |
Passed to write.table (if data.frame) or fwrite (if data.table) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.