search for: dgraphicsalphabits

Displaying 4 results from an estimated 4 matches for "dgraphicsalphabits".

2008 Nov 03
1
dev2bitmap: extra missing
...not found > dev2bitmap("plot.pdf",type="pdfwrite",taa=4) > I guess a useful default for extra is missing: if (!is.na(taa)) extra <- paste(" -dTextAlphaBits=", taa, sep = "") if (!is.na(gaa)) extra <- paste(extra, " -dGraphicsAlphaBits=", gaa, sep = "") cmd <- paste(shQuote(gsexe), " -dNOPAUSE -dBATCH -q -sDEVICE=", type, " -r", res, "-dAutoRotatePages=/None", " -g", ceiling(res * width), "x", ceiling(res * height), extra, " -sOutputF...
2011 Aug 03
1
one way to solve bad looking density plots in postscript
...are exported to postscript( a=matrix(1:100,10,10);image(a,col=rainbow(100);dev.copy2eps(file="image.eps") ) The result often looks bad when rendered on screen. The help page states that this is because programs use anti-aliasing. That seems to be true - turning off anti-aliasing for gs (-dGraphicsAlphaBits=1) of in OSX's preview makes the plots look really smooth, but makes everything else look bad (personal opinion..). The plots do look ok in acrobat reader. I think it would be much better if R corrected this problem - even if it is not totally R's fault. It seems that using the option useRa...
2008 Nov 14
1
Bug#505698: r-base-core: dev2bitmap fails with gsexe related error (PR#13288)
...", type, | : | object "extra" not found | > Confirmed. The code in looks a little off inasmuch as in if (!is.na(taa)) extra <- paste(" -dTextAlphaBits=", taa, sep = "") if (!is.na(gaa)) extra <- paste(extra, " -dGraphicsAlphaBits=", gaa, sep = "") cmd <- paste(shQuote(gsexe), " -dNOPAUSE -dBATCH -q -sDEVICE=", type, " -r", res, "-dAutoRotatePages=/None", " -g", ceiling(res * width), "x", ceiling(res * height), extra, " -sOutpu...
2010 Apr 29
5
reduce size of pdf
is there a way to reduce the size of pdf files in R: ? compression? lower dpi ? or some other option?