Re: [Rd] R-devel Digest, Vol 34, Issue 5

From: ivo welch <>
Date: Mon 05 Dec 2005 - 13:30:45 GMT

actually, I can confirm now that gs AFPL 8.53 is the "culprit" here on #2, copied below again (though it is not a bug but a feature, albeit one you need to know about.) the -dSAFER switch, which appears in later versions of AFPL gs, not only eliminates renamefile and deletefile (manpage), but seemingly also allows only fonts in the GS_LIB path to be used   export GS_LIB=/usr/local/share/texmf/fonts/type1/yandy:$GS_LIB fixes this protection problem for me. hope this will help some of you when you run R pdf files through gs. regards,


[2] I do not believe this is an R bug, but I want to mention it anyway
> because it comes from interacting the R-created graphics with gs. for
> some
> odd reason, when I include these external lucida fonts, and create
> graphics
> in R, the R-created pdf can no longer be distilled by gs 8.53, because it
> stumbles into a safety issue. that is, all the gs scripts named 'ps2pdf*'
> have the option -dSAFER on by default, which disables the renamefile and
> deletefile operators, and it somehow prevents finding the fonts. (the
> bug
> does not appear if I do not use the external fonts.)
> regards,
> /iaw
> [[alternative HTML version deleted]]

        [[alternative HTML version deleted]] mailing list Received on Tue Dec 06 00:37:59 2005

This archive was generated by hypermail 2.1.8 : Mon 05 Dec 2005 - 14:21:13 GMT