[R] Problem with colormodel in pdf driver

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Jan 26 21:37:34 CET 2009

On Mon, 26 Jan 2009, Luis Torgo wrote:

> Greg Snow wrote:
>> You may want to consider a dotchart instead of a barplot.  Then you can 
>> distinguish between groups by using symbols, grouping, and labels rather 
>> than depending on colors/shades of grey.
> Thanks Greg. The only problem is that I was trying to illustrate the use of 
> barplot() ...
> I guess for now I can always use the pdf() driver with the default RGB 
> colormodel and then use command line tools (e.g. ImageMagick) to convert the 
> resulting graphs to grayscale...

You won't be able to convert PDF to PDF with ImageMagick (possible 
with a helper).

> Thanks all for the help.

Or update your R, as the posting guide suggested.  It works in 
R-patched and R-devel.

Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

More information about the R-help mailing list