Since the argment of close.screen is supposed to be a single screen
number, and
> scr
[1] 5 6
this appears to be user error, correctly detected.
On Tue, 3 Feb 2004 schlather@cu.lu wrote:
> Full_Name: Martin Schlather
> Version: R.1.9.0 (2004-02-02)
> OS: Linux SuSe 9.0
> Submission from: (NULL) (193.168.1.228)
>
>
>
> Dear all,
>
> the sequence
>
> close.screen(close.screen())
> split.screen(c(1,2))
> scr <- split.screen(c(1,2))
> screen(scr[2]) ## also for scr[1]
> close.screen(scr)
>
> causes the error
>
> Error in screen(temp, new = FALSE) : Invalid screen number
>
> Up to R-1.8.1, a warning had appeared:
> Warning message:
> no finite arguments to min; returning Inf
> see also bug report #1878.
>
>
> Many thanks in advance for considering this problem.
> Martin
>
> ______________________________________________
> R-devel@stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-devel
>
>
--
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 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595