I am trying to capture the result of graphically creating ggplot2 in memory to send it to the server. Does anyone have a good idea how to solve this?
My code looks like this:
data(mtcars) x <- ggplot(mtcars, aes(x=mpg, y=hp)) + geom_point(shape=1) print(x)
source share