Skip to content
Prev 7282 / 398500 Next

dev.print() bug?

Pierre Kleiber <pkleiber at honlab.nmfs.hawaii.edu> writes:
Hmm. Doesn't happen to me, but it would seem that hp in dev.print can
become unset if papersize=="letter". I think you may need a clause
like

        if (paper == "letter") {
            wp <- 8
            hp <- 11 - 0.5
        }

(The code in dev.print look like it could use a going over. There's
also a mysterious "horizontal" variable that seemingly gets set but
never used? The development version fixes a long-standing bug where a4
and legal were switched, but the other problems seem to be there still.)