write.simple.append | R Documentation |
Appends a data frame without row names to an existing .tsv file with the same number of columns. The output filename is auto-generated from the variable's name or manually specified. The file is saved in the specified output directory or the current working directory. The path and variable name can be passed separately and will be concatenated to form the filename.
write.simple.append(
input_df,
filename = substitute(input_df),
suffix = NULL,
extension = "tsv",
manualFileName = NULL,
manualDirectory = NULL,
o = FALSE,
v = TRUE
)
input_df |
Data frame to write out. Default: None, must be provided. |
filename |
The base name for the output file. Default: Name of the input data frame. |
suffix |
An optional suffix to add to the filename. Default: NULL. |
extension |
File extension to use, Default: 'tsv'. |
manualFileName |
Manually defined filename, overrides automatic naming. Default: NULL. |
manualDirectory |
Directory to save the file in, overrides default directory. Default: NULL. |
o |
If TRUE, opens the file after writing on OS X using 'system(open ...)'. Default: FALSE. |
v |
verbose Print path? Default: TRUE. |
Appends data to an existing .tsv file.
## Not run:
if (interactive()) {
write.simple.append(input_df = myDataFrame)
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.