devoid (version 0.1.2)

void_dev: 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()

Arguments

Examples

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

Run the code above in your browser using DataCamp Workspace