File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 2828# ' \dontrun{
2929# ' ratings <- qplot(rating, data=movies, geom="histogram")
3030# ' qplot(length, data=movies, geom="histogram")
31- # ' ggsave(file= "length-hist.pdf")
32- # ' ggsave(file= "length-hist.png")
33- # ' ggsave(ratings, file= "ratings.pdf")
34- # ' ggsave(ratings, file= "ratings.pdf", width=4, height=4)
31+ # ' ggsave("length-hist.pdf")
32+ # ' ggsave("length-hist.png")
33+ # ' ggsave("ratings.pdf", ratings )
34+ # ' ggsave("ratings.pdf", ratings , width=4, height=4)
3535# ' # make twice as big as on screen
36- # ' ggsave(ratings, file= "ratings.pdf", scale=2)
36+ # ' ggsave("ratings.pdf", ratings , scale=2)
3737# ' }
3838ggsave <- function (filename = default_name(plot ), plot = last_plot(),
3939 device = default_device(filename ), path = NULL , scale = 1 ,
You can’t perform that action at this time.
0 commit comments