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

View source: R/dirfns.R

dir.epsR Documentation

Concatenates a path, filename, and file extension into an output path, then opens an eps connection at the output path. Any folders in the path that do not exist are created.

Description

Concatenates a path, filename, and file extension into an output path, then opens an eps connection at the output path. Any folders in the path that do not exist are created.

Usage

dir.eps(filename, path = ".", ..., append.date = T)

Arguments

filename

The output file name.

path

The path to the output file.

...

Additional arguments to postscript.

append.date

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

See Also

dir.img, grDevices::postscript

Examples

dir.eps("example",path="path/to")
plot(1:5,1:5)
dev.off()

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