Skip to content
Back to formatted view

Raw Message

Message-ID: <Pine.GSO.4.05.10002202103480.22411-100000@auk.stats>
Date: 2000-02-20T21:10:15Z
From: Brian Ripley
Subject: split.screen + postscript Problem (PR#454)
In-Reply-To: <200002201753.SAA19441@pubhealth.ku.dk>

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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._