Skip to content

screen can't go back to (split) screen with log="y" plot (PR#831)

1 message · Thomas J Vogels

#
Hi.  Let's try to explain the subject line with some code:
[1] 1 2
Error in par(.split.screens[[n]]) : invalid value specified for graphics parameter "yaxp".
Let's add comments:
[1] 1 2

OK, plot in the top half screen:
[1]  1  2 -5

OK, switch to bottom half:
[1] 1 2 5

OK, looks fine, let's go back up:
Error in par(.split.screens[[n]]) : invalid value specified for graphics parameter "yaxp".

Bummer.
Somehow I'm hoping you'll tell me I'm doing something wrong, because
I'd really would like to be able to do the following:
  repeat {
    #calculate
    screen(1)
    #fancy plot
    screen (2)
    #even fancier plot ;-)
    if (user.bored()) break
  }
Which is roughly what I was doing when the error messages started
popping up.

Thanks,
  -tom

--please do not edit the information below--

Version:
 platform = i386-pc-linux-gnu
 arch = i386
 os = linux-gnu
 system = i386, linux-gnu
 status = 
 major = 1
 minor = 2.1
 year = 2001
 month = 01
 day = 15
 language = R

Search Path:
 .GlobalEnv, package:ctest, Autoloads, package:base