adimpro.options: Set parameters for graphical display

View source: R/misc.r

adimpro.optionsR Documentation

Set parameters for graphical display

Description

On systems capabale of X11 the function sets the X11-type (preferably "Xlib"). It also sets a default size for graphical displays opended by functions from the package.

Usage

adimpro.options(xsize = NULL, ysize = NULL)

Arguments

xsize

display width in pt

ysize

display height in pt

Details

The function assignes the specified values to as a list to the variable name ".adimpro". This variable is, if it exists, evaluated by several other functions.

On some systems the default X11.options()$type ”cairo” leads to significant slower image display. You may try to use X11.options(type=''Xlib'') instead. To automatically choose this option set the system environment variable R_X11type (setenv R_X11type Xlib or export R_X11type=Xlib) before loading the package.

Value

returns invisible(NULL)

Author(s)

Karsten Tabelow tabelow@wias-berlin.de and Joerg Polzehl polzehl@wias-berlin.de


adimpro documentation built on Sept. 30, 2024, 9:17 a.m.