Description Usage Arguments Value Author(s) See Also
Gets parameters specific to a certain type of device.
This method is used by *print()
and *open()
.
1 |
filename |
A filename where to save the resulting plot. The filename suffix decides what graphical device driver will used. |
path |
The output path where the figure is saved. |
width, height |
The width and height of the image. If both are
|
aspectRatio |
If |
pointsize |
The font pointsize to be used. If |
quality |
The quality in [0,100]% if applicable. This argument is
currently only used by the jpeg device driver. If |
bg, fg |
Background and foreground colors used by the PicTeX
driver. If |
debug |
Used by the PicTeX driver. If |
... |
Not used. |
Returns a named list
structure with elements
pathname
, imgName
, imgType
,
height
, width
, aspectRatio
,
quality
, pointsize
,
bg
, fg
, and debug
.
Value pathname
is the pathname to the image file validate to
writable.
Value imgName
is the basename of the pathname without the
filename extension, which is returned (in lower case) by imgType
.
Henrik Bengtsson (http://www.braju.com/R/)
*print()
and *open()
.
For more information see Device
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.