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

View source: R/dirfns.R

dir.exportR Documentation

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

Description

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

Usage

dir.export(x, filename, path = ".", format = "bed", ..., append.date = T)

Arguments

x

Data to be written to filename.

filename

The output file name.

path

The path to the output file.

format

An appropriate format for rtracklayer::export.

...

Additional arguments to rtracklayer::export.

append.date

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

See Also

dir.out, rtracklayer::export


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