Writes S3 objects from pensieve to the file system in some selected formats.

export_ps(x, dir = ".", overwrite = FALSE, ...)

# S3 method for default
export_ps(x, dir, ...)

Arguments

x

An object with one of the pensieve S3 classes.

dir

[character(1)] giving the directory where the exported objects are written to. Must be relative from the working directory. Defaults to the working directory root.

overwrite

[logical(1)] indicating whether existing files should be overwritten. Defaults to FALSE, in which case the function throws an error if a file exists already.

...

further arguments to be passed to methods.

Value

[character()] (invisible) giving the paths to the exported files.