Plot files

The default extension for the jpeg() device is jpeg, and you can change it to .jpg if desired:

plot(cars)

Set the plot size via fig.dim:

plot(cars)

Write plot files to a different folder:

plot(cars)