ts_save {tsbox}R Documentation

Save Previous Plot

Description

Save Previous Plot

Usage

ts_save(
  filename = tempfile(fileext = ".pdf"),
  width = 10,
  height = 5,
  device = NULL,
  open = TRUE
)

Arguments

filename

filename

width

width

height

height

device

device

open

logical, should the saved plot be opened?

Value

invisible TRUE, if successful

Examples


ts_plot(AirPassengers)
tf <- tempfile(fileext = ".pdf")
ts_save(tf)
unlink(tf)



[Package tsbox version 0.4.1 Index]