void_dev: Open a void device

Description Usage Examples

View source: R/void_dev.R

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

1

Examples

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

devoid documentation built on Aug. 3, 2020, 5:10 p.m.