The auxiliary function
ps.options can be used to set or view
(if called without arguments) the default values for some of the
ps.options needs to be called before calling
and the default values it sets can be overridden by supplying
1 2 3 4
logical: should the defaults be reset to their ‘factory-fresh’ values?
logical argument passed to
reset = TRUE and
... are supplied the defaults
are first reset to the ‘factory-fresh’ values and then the new
values are applied.
For backwards compatibility argument
append is accepted but
ignored with a warning.
setPS are wrappers to set defaults
appropriate for figures for inclusion in documents (the default size
is 7 inches square unless
height is supplied)
and for spooling to a PostScript printer respectively. For historical
reasons the latter is the ultimate default.
A named list of all the previous defaults. If
reset = TRUE is supplied the result has the visibility flag
1 2 3 4 5 6 7 8 9
ps.options(bg = "pink") utils::str(ps.options()) ### ---- error checking of arguments: ---- ps.options(width = 0:12, onefile = 0, bg = pi) # override the check for 'width', but not 'bg': ps.options(width = 0:12, bg = pi, override.check = c(TRUE,FALSE)) utils::str(ps.options()) ps.options(reset = TRUE) # back to factory-fresh
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.