R: Export multiple graphs to PNG or SVG i one step