inst/example.R

## put a plot in a temporary png
tmp <- tempfile()
png(tmp)
plot(rnorm(10) + 1:10, xlab='x', ylab='y')
dev.off()

library(digitize)
mydata <- digitize(tmp)

Try the digitize package in your browser

Any scripts or data that you put into this service are public.

digitize documentation built on May 2, 2019, 12:45 a.m.