[R] R plots pdf() does not allow spotcolors?

Ben Bolker bbolker at gmail.com
Wed Apr 13 14:30:26 CEST 2011


Matthieu Stigler <matthieu.stigler <at> gmail.com> writes:

> 
> Hi
> 
> We are about to publish a book, which contains figures made with R 
> plots. An important detail that we did not take into account is that the 
> book will not be printed in 4 colors (cmyk mode), but only 2 (black 
> +"spotcolor"). The spotcolor we use is part of the big Pantone family.
> 
> The problem is that both pdf() and postscript() offer either rgb or 
> cmyk, but no spotcolors such as pantone. I'm afraid this constraint 
> can't be solved at all, and we can't use R for creating these plots? I 
> did not find any package that would extend the colormodel to include 
> spot colors... Did anyone had a similar experience?
> 

  Wasn't aware of spotcolors, but I bet you could hack the PDF
reasonably easily (if you have many figures you might have to
use awk/sed/perl ?) ... if you don't use R, what is your alternative
for creating the figures?

  Ben Bolker



More information about the R-help mailing list