startGraphics: Open a graphics file for saving (by default only works in...

View source: R/graphics.R

startGraphicsR Documentation

Open a graphics file for saving (by default only works in batch mode)

Description

Open a graphics file for saving (by default only works in batch mode)

Usage

startGraphics(
  target = makeArgs()[[1]],
  otype = "pdf",
  ext = otype,
  always = FALSE,
  desc = NULL,
  ...
)

Arguments

target

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

otype

type of file to write (defaults to pdf)

ext

file extension (defaults to otype)

always

open file even if called from interactive mode

desc

text to replace Rout in default target

...

arguments to pass to grDevices call (via makeGraphics)


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