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

View source: R/nulldev.R

nulldevR Documentation

A \"null\" graphics device voiding all output

Description

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

Usage

nulldev(file=nullfile(), ...)

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

## Not run: 
  nulldev()
  plot(1:3)
  dev.off()

## End(Not run)

HenrikBengtsson/R.devices documentation built on April 6, 2024, 8:31 p.m.