Displaying 2 results from an estimated 2 matches for "dtextalphabit".
Did you mean:
dtextalphabits
2008 Nov 03
1
dev2bitmap: extra missing
...ror in paste(shQuote(gsexe), " -dNOPAUSE -dBATCH -q -sDEVICE=", type, :
object "extra" 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"...
2008 Nov 14
1
Bug#505698: r-base-core: dev2bitmap fails with gsexe related error (PR#13288)
...> dev2bitmap("density.png")
| Error in paste(shQuote(gsexe), " -dNOPAUSE -dBATCH -q -sDEVICE=", 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&qu...