Re: [R] Bug or not

2007-10-08 Thread Ben Bolker



Darius Kasiulevičius wrote:
> 
> I have this sample from help. I try use command erase.screen() but in 
> split mode sreen dont erase. Why?
> 
> 

 Not a bug.

 From the documentation:

 'erase.screen' will appear not to work if the background colour is
 transparent (as it is by default on most devices).

So make sure to specify par(bg="white") first, as in the example
given in the documentation ...

 Ben Bolker


-- 
View this message in context: 
http://www.nabble.com/Bug-or-not-tf4580966.html#a13098413
Sent from the R help mailing list archive at Nabble.com.

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] Bug or not

2007-10-06 Thread Darius Kasiulevičius
I have this sample from help. I try use command erase.screen() but in 
split mode sreen dont erase. Why?

split.screen(c(2,1)) # split display into two screens
split.screen(c(1,2),2) # split bottom half in two
plot(1:10) # screen 3 is active, draw plot
erase.screen() # forgot label, erase and redraw IN THIS PLACE 
SCREEN DONT ERASE
plot(1:10, ylab= "ylab 3")   IN THIS 
PLACE COMMAND PLOT ON TOP
screen(1) # prepare screen 1 for output

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.