In [1]:
%load_ext rmagic
In [6]:
%%R
library(ggplot2)
p <- ggplot(mtcars, aes(wt, mpg))
p <- p + geom_point()
print(p)
In []:
 
Back to top