View source: R/writeCSVorExcel.R
writeCSVorExcel | R Documentation |
Will write out object according to file_v's extension
writeCSVorExcel(obj, file_v, quote_v = F, rowNames_v = F)
obj |
either a data.table, data.frame, or matrix, or a list of one of those |
file_v |
path to file to write out. Can be either .csv or .xlsx |
quote_v |
logical. passed to quote argument of write.csv |
rowNames_v |
logical. passed to row.names argument of write.csv |
Will write .csv or .xlsx depending on the extension found in file_v Currently can only write a single table to csv. Additional functionality Would be to write a list of tables to a directory of csv's instead of an excel file.
write out file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.