\HeaderA{ggsave}{ggsave}{ggsave}
\keyword{file}{ggsave}
\begin{Description}\relax
Save a ggplot with sensible defaults
\end{Description}
\begin{Usage}
\begin{verbatim}ggsave(plot = .PLOT, filename=default_name(plot), device=default_device(filename), scale=1, width=par("din")[1], height=par("din")[2], grid="normal", dpi=96, ...)\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{plot}] plot to save
\item[\code{filename}] file name/path of plot
\item[\code{device}] device to use, automatically extract from file name extension
\item[\code{scale}] scaling factor
\item[\code{width}] width (in inches)
\item[\code{height}] height (in inches)
\item[\code{grid}] grid to use, normal for white on pale grey, print for pale grey on white
\item[\code{dpi}] dpi to use for raster graphics
\item[\code{...}] other arguments passed to device function
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
\end{Details}
\begin{Author}\relax
Hadley Wickham <h.wickham@gmail.com>
\end{Author}
\begin{Examples}
\begin{ExampleCode}\end{ExampleCode}
\end{Examples}

