[Rd] split.screen + postscript Problem (PR#454)
Prof Brian D Ripley
ripley@stats.ox.ac.uk
Sun, 20 Feb 2000 21:10:15 +0000 (GMT)
On Sun, 20 Feb 2000 p.malewski@tu-bs.de wrote:
> Dear R-helpers,
> with R-0.99a, Linux, Red-Hat 6.1 derivat (Halloween Linux) I have
> the following Problem with this code:
>
> graphics.off()
> close.screen(all=T)
> temp <- matrix(c(0 , 1 , .4 , 1,
> 0 , 1 , 0 ,.4),
> ncol= 4,
> byrow=T )
> split.screen(temp)
> plot(1:100)
> screen(2)
> plot(1:100)
> close.screen(all=T)
> dev.print(postscript,"/tmp/xx.ps")
I fixed this earlier today (for 1.0.0, as it was in the R-bugs database as
PR# 378). You need a screen to split! So for now precede
split.screen(temp) by plot.new() or frame() or explicitly open a graphics
device.
Your example works on the current snapshot.
--
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._