fwrite_header.Rd
writes a data frame with a header
fwrite_header(
data,
file,
header,
sep = ",",
col_names = FALSE,
append = FALSE,
scipen = 20,
...
)
data frame
output file name
string with the header
write column names
append to an existing file
Arguments passed on to tgutil::fwrite
if (FALSE) {
fwrite_header(mtcars, file = tempfile(), header = "# this is a header", sep = "\\t")
}