I'd like to get a plot generated by ggplot2 in Mathematica but using the getRPlot function doesn't seem to work:
REvaluate["library(ggplot2)"];
Show[#, ImageSize -> Medium, PlotRange -> All] & getRPlot[
RFunction["function(){
qplot(Sepal.Length, Petal.Length, data = iris, color = Species)
}"]]
I get the following error message:
Import::general: "Document only has 0 page(s)"
Any alternatives?
getRPlotand ask on StackOverflow about what goes wrong during exporting. I don't know enough R to help. – Szabolcs Feb 16 '16 at 19:29