Home Articles Examples Manual News
The default extension for the jpeg() device is jpeg, and you can change it to .jpg if desired:
jpeg()
jpeg
.jpg
plot(cars)
Set the plot size via fig.dim:
fig.dim
Write plot files to a different folder: