startGraphics | R Documentation |
Open a graphics file for saving (by default only works in batch mode)
startGraphics(
target = makeArgs()[[1]],
otype = "pdf",
ext = otype,
always = FALSE,
desc = NULL,
...
)
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) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.