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

From: Ben Bolker <>
Date: Wed, 13 Apr 2011 12:30:26 +0000

Matthieu Stigler <matthieu.stigler <at>> 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 mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Wed 13 Apr 2011 - 12:34:21 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 13 Apr 2011 - 16:50:29 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive