This help topic is for R version 0.60. For the current version of R, try https://stat.ethz.ch/R-manual/R-patched/library/base/html/x11.html
x11 {base}R Documentation

X Window System Graphics

Description

x11 starts a graphics device driver for the X Window System (version 11). This should be done automagically at start up time and can only be done on machines that run X.

print.plot() prints the plot using the printcmd command. save.plot("fig.ps") saves an encapsulated postscript version of the plot in the file "fig.ps" (attempting to be pretty wysiwyg). Both make use of the paper and orientation arguments.

Usage

x11(display = "", width = 7, height = 7, ps = 12,
    printcmd = options("printcmd")$printcmd,
    paper = options("papersize")$papersize,
    orientation = "flexible")
print.plot()
save.plot(file)

Arguments

display

the display on which the graphics window will appear. The default is to use the value in the user's environment variable DISPLAY.

width

the width of the plotting window in inches.

height

the height of the plotting window in inches.

ps

the default pointsize to be used.

printcmd

the command used to print a hardcopy.

paper

the paper type for hardcopy, currently "a4" or "letter".

orientation

the orientation for hardcopy, one of "portrait", "landscape", or "flexible".

See Also

postscript, macintosh, Devices.


[Package base version 0.60 ]