pickle.figure: Save a figure object or mdtable object on the disc.

View source: R/oop.R

pickleR Documentation

Save a figure object or mdtable object on the disc.

Description

Saves a figure object on the disc.

Usage

pickle(object, ...)

## S3 method for class 'figure'
pickle(object, path = ".", format = "pdf", ...)

## S3 method for class 'mdtable'
pickle(object, folder = ".", format = "tsv", delim = "\t", ...)

Arguments

object

a figure object.

...

extra arguments passed to ggsave (figure) or write_delim (table).

path

The target path. The destination folder will not be created.

format

the desired file format.

folder

The target folder. The destination folder will not be created.

delim

delimiter for column separation, tabulation by default.

Details

S3 generic function.

Value

None, called for side effects


PiotrTymoszuk/figur documentation built on July 16, 2024, 1:15 a.m.