17.2 With the console

## png 
##   2

Formats

R supports a variety of file formats for figures: pdf, png, jpeg, tiff, bmp, svg, ps.
They all come with their own function, for example:

## png 
##   2
## png 
##   2

The size of the output file can be changed:

## png 
##   2
## png 
##   2

Note that pdf is the only format that supports saving several pages:

## png 
##   2

Plot several figures in one page

You can output more than one plot per page using the par() function (sets graphical parameters) and the mfrow argument.

## png 
##   2

## png 
##   2