append2csv: Append to CSV

Description Usage Arguments Details See Also

Description

Wrapper to function write.table.

Usage

1
2
append2csv(data_frame, file = "", append = TRUE, sep = ",",
  col.names = NULL, row.names = FALSE, ...)

Arguments

data_frame

The object to be written, preferably a data frame or a matrix.

file

Either a character string naming a file or a connection open for writing. "" indicates output to the console.

...

Additional arguments. Same as for write.table.

Details

If the file doesn't exist, the csv will be created using col.names as header. If the file already exists, the data.frame will be appended without header.

See Also

write.table


fabarca/reutiles documentation built on May 16, 2019, 9:57 a.m.