From ripley@stats.ox.ac.uk  Fri Nov 17 21:28:03 2000
From: ripley@stats.ox.ac.uk (Prof Brian D Ripley)
Date: Fri, 17 Nov 2000 21:28:03 +0000 (GMT)
Subject: [Rd] Bug in R 1.1.1 dev.print() with fix (PR#737)
In-Reply-To: <200011171946.UAA11423@pubhealth.ku.dk>
Message-ID: <Pine.GSO.4.05.10011172127100.16709-100000@auk.stats>

On Fri, 17 Nov 2000 frost@pocketmail.com wrote:

> Full_Name: Keith L. Frost
> Version: 1.1.1
> OS: Linux Mandrake 7.1
> Submission from: (NULL) (199.182.77.3)
> 
> 
> x <- 1:256;
> dim(x) <- c(16,16);
> image(x,col=gray(0:255/255));
> dev.print();
> 
> Sometimes errored out with a complaint about hp not defined.  I looked at the 
> source code for dev.print, and found that in 3--4 places, variable names for 
> paper width and height were mistakenly named wp and wh, instead of wp and hp.
> Changing references to wh to references to hp fixed the problem.
> Here is the new version of dev.print:

Already fixed (and more) for 1.2.0 in the development version.


-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] Bug in R 1.1.1 dev.print() with fix (PR#737)
Prof Brian D Ripley