Skip to content

Commit 18b150f

Browse files
committed
Update docs
1 parent 2b8a13d commit 18b150f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

man/ggsave.Rd

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@ pdf, jpeg, tiff, png, bmp, svg and wmf (windows only).
4949
\dontrun{
5050
ratings <- qplot(rating, data=movies, geom="histogram")
5151
qplot(length, data=movies, geom="histogram")
52-
ggsave(file="length-hist.pdf")
53-
ggsave(file="length-hist.png")
54-
ggsave(ratings, file="ratings.pdf")
55-
ggsave(ratings, file="ratings.pdf", width=4, height=4)
52+
ggsave("length-hist.pdf")
53+
ggsave("length-hist.png")
54+
ggsave("ratings.pdf", ratings)
55+
ggsave("ratings.pdf", ratings, width=4, height=4)
5656
# make twice as big as on screen
57-
ggsave(ratings, file="ratings.pdf", scale=2)
57+
ggsave("ratings.pdf", ratings, scale=2)
5858
}
5959
}
6060

0 commit comments

Comments
 (0)