teeGG: saveGG and also print to stdout(for quick reference)

View source: R/graphics.R

teeGGR Documentation

saveGG and also print to stdout(for quick reference)

Description

saveGG and also print to stdout(for quick reference)

Usage

teeGG(
  g,
  target = makeArgs()[[1]],
  ext = "pdf",
  desc = "ggp",
  print_title = desc,
  crop = TRUE,
  ...
)

Arguments

g

graphical object to print and save

target

stem of filename (defaults to the target of the script)

ext

file extension (will use pdf if not specified)

desc

text to replace Rout in default target (ggp by default)

print_title

plot title for the printed version (defaults to desc part of filename)

crop

logical: use knitr::plot_crop?

...

arguments to pass to ggsave call


dushoff/shellpipes documentation built on Dec. 14, 2024, 4:36 p.m.