windows {base} | R Documentation |
A graphics device is opened. For win.graph
, windows
,
x11
and X11
this is a graphics window on the current
Windows display: the multiple names are for compatibility with other
systems. win.metafile
prints to a file and win.print
to
the Windows print system.
windows(width = 7, height = 7, pointsize = 12) win.graph(width = 7, height = 7, pointsize = 12) x11(display = "", width = 7, height = 7, pointsize = 12) X11(display = "", width = 7, height = 7, pointsize = 12) win.metafile(filename = "", width = 7, height = 7, pointsize = 12) win.print(width = 7, height = 7, pointsize = 12)
display |
indicates the purpose of the device. |
filename |
the name of the output file: it will be an enhanced
Windows metafile, usually given extension .emf or .wmf . |
width |
the (nominal) width of the plotting window in inches. |
height |
the (nominal) height of the plotting window in inches. |
pointsize |
the default pointsize of plotted text. |
All these devices are implemented as windows
devices, the
display
parameter selects which is actually used.
The size of a window is computed from information provided about the display: it depends on the system being configured accurately.
A graphics window is not allowed to be specified at more that 85% of the screen width or height: the width and height are rescaled proportionally. The window can be resized to a larger size.
If the filename
is omitted for a win.metafile
device, the
output is copied to the clipboard when the device is closed. A
win.metafile
device can only be used for a single page.
A plot device is opened: nothing is returned to the R interpreter.
Guido Masarotto