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 28
28
# ' \dontrun{
29
29
# ' ratings <- qplot(rating, data=movies, geom="histogram")
30
30
# ' 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)
35
35
# ' # make twice as big as on screen
36
- # ' ggsave(ratings, file= "ratings.pdf", scale=2)
36
+ # ' ggsave("ratings.pdf", ratings , scale=2)
37
37
# ' }
38
38
ggsave <- function (filename = default_name(plot ), plot = last_plot(),
39
39
device = default_device(filename ), path = NULL , scale = 1 ,
You can’t perform that action at this time.
0 commit comments