[R] ps or pdf

From: Francois Pepin <fpepin_at_cs.mcgill.ca>
Date: Mon, 31 Mar 2008 14:09:48 -0400

Hi everyone,

I have been making a fair amount of figures in R recently that I've been touching up with Illustrator and I've found a difference between pdf and ps files and I was wondering if someone could enlighten me about them.

While the figures look the same, the ps version tends to have truncated strings. The last character of short strings tends to be on a string of its own, located right beside the rest. This makes it a bit awkward to manipulate, especially if scaling is involved. Is there a reason for this differences?

There also seems to be somewhat arbitrary grouping of the last column cells in heatmaps in ps files.

I used to prefer the ps because they embed more easily in latex documents (although pdf are not difficult and conversions are trivial anyhow), but I'm curious if there are other reasons why one format might be preferred over the other in this context.

This is with R 2.6 on linux, and I've seen this behavior with older R version also.


R version 2.6.0 (2007-10-03)


attached base packages:
[1] stats graphics grDevices utils datasets methods base

loaded via a namespace (and not attached):
[1] rcompgen_0.1-15

R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Mon 31 Mar 2008 - 18:14:13 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 Mon 31 Mar 2008 - 20:31:27 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive