Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

imager (version 0.14)

capture.plot: Capture the current R plot device as a cimg image

Description

Capture the current R plot device as a cimg image

Usage

capture.plot()

Arguments

Value

  • a cimg image corresponding to the contents of the current plotting window

Examples

Run this code
##interactive only:
##plot(1:10)
###Make a plot of the plot
##capture.plot() \%>\% plot

Run the code above in your browser using DataLab