[Rd] Postscript can be very slow in R 2.13-0
Stephen Milborrow
milbo at sonic.net
Thu Apr 14 14:56:36 CEST 2011
Viewing certain postscript files under R 2.13-0 is very slow, at least using
GSview on my 64 bit Windows 7 system. To see this, compare how long it
takes to display these two files (fast.ps was created by removing the /srgb
stuff in .ps.prolog):
www.milbo.org/postscript/slow.ps
www.milbo.org/postscript/fast.ps
The code to produce the above two files is here:
www.milbo.org/postscript/slow-postscript.R
This is not exactly a bug, but is it a known issue? The hack used to
produce fast.ps above is fragile and not suitable for regular use. Is there
a option to the postscript() function (or could one be added) that would
sacrifice sRGB support for speed?
Stephen Milborrow
www.milbo.users.sonic.net
Version info:
I'm using GSview 4.9 and Ghostscript 8.64.
> R.version
_
platform x86_64-pc-mingw32
arch x86_64
os mingw32
system x86_64, mingw32
status
major 2
minor 13.0
year 2011
month 04
day 13
svn rev 55427
language R
version.string R version 2.13.0 (2011-04-13)
More information about the R-devel
mailing list