dir.csv: Concatenates a path, filename, and file extension into an...

View source: R/dirfns.R

dir.csvR Documentation

Concatenates a path, filename, and file extension into an output path, then writes data x to the output path as a csv. Any folders in the path that do not exist are created.

Description

Concatenates a path, filename, and file extension into an output path, then writes data x to the output path as a csv. Any folders in the path that do not exist are created.

Usage

dir.csv(x, filename, path = ".", summary = F, quote = T, ..., append.date = T)

Arguments

x

Data to be written to filename.

filename

The output file name.

path

The path to the output file.

...

Additional arguments to write.csv.

append.date

Whether to write the output to a directory with today's date.

See Also

dir.out, utils::write.csv

Examples

dir.csv(iris, "example", path="path/to")

kewiechecki/dirfns documentation built on June 8, 2025, 5:18 a.m.