Re: [R] ggplot2: setting global graphic parameters with png driver

2008-04-29 Thread Xavier Chardon
Sorry I forgot these informations. I'm using R 2.70, under Linux (Debian Etch). The png driver uses cairo, and the version of libcairo installed is 1.2.4 (which is not the latest, but more recent versions are not available is the debian stable repositories) I tried bitmap(), and it does not

Re: [R] ggplot2: setting global graphic parameters with png driver

2008-04-29 Thread Prof Brian Ripley
You forgot to mention your version of R and your platform (and R has at least 3 separate png() devices). In 2.7.0, specify the size in inches and increase the resolution. In earlier versions, try bitmap(). From NEWS for 2.7.0 o Considerable efforts have been made to make the default outp

[R] ggplot2: setting global graphic parameters with png driver

2008-04-29 Thread Xavier Chardon
Hi all, I prepared a few charts with ggplot2, and was happy with the results as displayed on screen. I tried to draw them with a PNG driver instead. But I ran into several problems while trying to increase the resolution of the picture. Mainly, when I increased the picture size (e.g png(width