Description Usage Arguments Details Value Author(s) See Also Examples
Use this function to the values of an R variable to a csv file.
1 2 3 4 | writeToCsv(data, file = deparse(substitute(data)),
header, rowheader = TRUE,
overwrite = FALSE, na = "", ...)
|
data |
name of R object to write out |
file |
file to write to; default is the name of the R object |
header |
do you want to write out the column header(s)/names(s) too? |
rowheader |
do you want to write out the row header(s)/name(s) too? |
overwrite |
If TRUE, file will always be overwritten. If FALSE, file will never be overwritten. If "version", the first version of the filename of the form 'file-xx.csv' that doesn't yet exist will be created, up to a maximum of xx=99. |
na |
the string to use for missing values in the data |
... |
arguments to be passed to other methods |
Essentially a wrapper for R's write.csv function that standardizes
the argument list throughout the excelRio package,
does some error checking,
and enables a simple "version-ing" for different iterations
of the same data
variable.
The name with path of the file written.
dmm
readFromCsv, pasteFromExcel, copyToExcel
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.