nulldev: A \"null\" graphics device voiding all output

Description Usage Arguments Details Value Author(s) Examples

View source: R/nulldev.R

Description

A \"null\" graphics device voiding all output.

Usage

1

Arguments

file

The output file (ignored; forced to its default).

...

All other arguments are also ignored.

Details

The null graphics device opens a regular pdf device and directs its output to the null file, which is /dev/null unless on Windows where it is NUL.

Value

A plot device is opened; nothing is returned.

Author(s)

Henrik Bengtsson

Examples

1
2
3
4
5
6
## Not run: 
  nulldev()
  plot(1:3)
  dev.off()

## End(Not run)

R.devices documentation built on Oct. 30, 2019, 10:58 a.m.