Sebastian Fischmeister
2009-Jan-25 02:45 UTC
[Rd] Warning for dropped text with devices that don't support clipping (in text attachments)
Hello, Apparently, the mail program doesn't like attachments. Here's the patch and the script again. Sebastian ------- R Script ------- xfig (file = "test .fig",onefile=TRUE,width=6,height=4,textspecial=TRUE,defaultfont=TRUE) barplot(seq(.8,0,-0.15)) legend("topright",legend=c("1234567890"),cex=.7,text.width=.5) dev.off() unlink("test.fig") ------- patch ------- Index: src/main/engine.c ==================================================================--- src/main/engine.c (revision 47716) +++ src/main/engine.c (working copy) @@ -1424,7 +1424,7 @@ if (toDevice) /* Device will do clipping */ textfn(x, y, str, rot, hadj, gc, dd->dev); else /* don't draw anything; this could be made less crude :) */ - ; + warning(_("current device doesn't support clipping, text removed '%s'"), str); } }
Gabor Grothendieck
2009-Jan-25 03:31 UTC
[Rd] Warning for dropped text with devices that don't support clipping (in text attachments)
On Sat, Jan 24, 2009 at 9:45 PM, Sebastian Fischmeister <sfischme at uwaterloo.ca> wrote:> Apparently, the mail program doesn't like attachments. Here's the patch and > the script again.The attachment does appear to have made to the archives: https://stat.ethz.ch/pipermail/r-devel/2009-January/051917.html