export_ps: Export S3 objects from pensieve in useful formats.

Description Usage Arguments Value

View source: R/export_ps.R

Description

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

Usage

1
2
3
4
export_ps(x, dir = ".", overwrite = FALSE, ...)

## Default S3 method:
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.


maxheld83/pensieve documentation built on Jan. 21, 2020, 9:16 a.m.