Closed zhanxw closed 9 years ago
I used the example codes from help("marrangeGrob"), and experienced this error:
set.seed(123) pl <- lapply(1:11, function(.x) qplot(1:10, rnorm(10), main=paste("plot", .x))) ml <- marrangeGrob(pl, nrow=2, ncol=2) ggsave("multipage.pdf", ml)
Error in ggsave("multipage.pdf", ml) : plot should be a ggplot2 plot
This problem only happens in v2.0, but not v0.9.1. Is there any solution to save marrangeGrob() results?
Is this the same issue as #13 ?
yes, same issue.
I used the example codes from help("marrangeGrob"), and experienced this error:
set.seed(123) pl <- lapply(1:11, function(.x) qplot(1:10, rnorm(10), main=paste("plot", .x))) ml <- marrangeGrob(pl, nrow=2, ncol=2) ggsave("multipage.pdf", ml)
Error in ggsave("multipage.pdf", ml) : plot should be a ggplot2 plot
This problem only happens in v2.0, but not v0.9.1. Is there any solution to save marrangeGrob() results?