void_dev: Open a void device

View source: R/void_dev.R

void_devR Documentation

Open a void device

Description

This function opens a graphic device that accepts inputs, but do not perform any action. As such it is useful for benchmarking graphic code as it removes the device implementation from the implementation.

Usage

void_dev()

Examples

void_dev()
# Any plotting instructions will now have no effect
plot(1:10000, 1:10000)
dev.off()

devoid documentation built on April 25, 2023, 5:10 p.m.