From ripley at stats.ox.ac.uk  Wed Feb  1 08:24:06 2006
From: ripley at stats.ox.ac.uk (ripley@stats.ox.ac.uk)
Date: Wed,  1 Feb 2006 08:24:06 +0100 (CET)
Subject: [Rd] recover() (PR#8546)
Message-ID: <20060201072406.311903ED72@slim.kubism.ku.dk>

Why are you calling recover() at the browse() prompt? What the help page 
says is

      When finished browsing in this call, type 'c' to return to
      'recover' from the browser.  Type another frame number to browse
      some more, or type '0' to exit 'recover'.

You can also type Q in the browser.

You seem never to have typed 'c' as instructed.

On Wed, 1 Feb 2006 KjetilBrinchmannHalvorsen at gmail.com wrote:

> After using options(error=recover),
> it takes a long time (too long) to get back
> to the prompt. Look at:
>
> Browse[1]> recover()
>
> Enter a frame number, or 0 to exit
>
> 1: window(test, start = c(15, 1), end = c(17, 1), extend = TRUE)
> 2: window.ts(test, start = c(15, 1), end = c(17, 1), extend = TRUE)
> 3: as.ts(window.default(x, ...))
> 4: window.default(x, ...)
> 5: function ()
> 6: eval(quote(browser()), envir = sys.frame(which))
> 7: eval(expr, envir, enclos)
>
> Selection: recover()
> Enter an item from the menu, or 0 to exit
> Selection: 0
> Browse[1]> recover()
>
> Enter a frame number, or 0 to exit
>
> 1: window(test, start = c(15, 1), end = c(17, 1), extend = TRUE)
> 2: window.ts(test, start = c(15, 1), end = c(17, 1), extend = TRUE)
> 3: as.ts(window.default(x, ...))
> 4: window.default(x, ...)
> 5: function ()
> 6: eval(quote(browser()), envir = sys.frame(which))
> 7: eval(expr, envir, enclos)
>
> Selection: 0
> Browse[1]> recover()
>
> Enter a frame number, or 0 to exit
>
> 1: window(test, start = c(15, 1), end = c(17, 1), extend = TRUE)
> 2: window.ts(test, start = c(15, 1), end = c(17, 1), extend = TRUE)
> 3: as.ts(window.default(x, ...))
> 4: window.default(x, ...)
> 5: function ()
> 6: eval(quote(browser()), envir = sys.frame(which))
> 7: eval(expr, envir, enclos)
>
> Selection: 0
> Browse[1]> recover()
>
> Enter a frame number, or 0 to exit
>
> 1: window(test, start = c(15, 1), end = c(17, 1), extend = TRUE)
> 2: window.ts(test, start = c(15, 1), end = c(17, 1), extend = TRUE)
> 3: as.ts(window.default(x, ...))
> 4: window.default(x, ...)
> 5: function ()
> 6: eval(quote(browser()), envir = sys.frame(which))
> 7: eval(expr, envir, enclos)
>
> Selection: 0
> Browse[1]> recover()
>
> Enter a frame number, or 0 to exit
>
> 1: window(test, start = c(15, 1), end = c(17, 1), extend = TRUE)
> 2: window.ts(test, start = c(15, 1), end = c(17, 1), extend = TRUE)
> 3: as.ts(window.default(x, ...))
> 4: window.default(x, ...)
> 5: function ()
> 6: eval(quote(browser()), envir = sys.frame(which))
> 7: eval(expr, envir, enclos)
>
> Selection: 0
> Browse[1]>
>
> Enter a frame number, or 0 to exit
>
> 1: window(test, start = c(15, 1), end = c(17, 1), extend = TRUE)
> 2: window.ts(test, start = c(15, 1), end = c(17, 1), extend = TRUE)
> 3: as.ts(window.default(x, ...))
> 4: window.default(x, ...)
>
> Selection: 0
> >
>
> I had to type 0 [to exit] 6 times to actually
> exit!
>
>
> Kjetil
>
> (windows, R2.2.1 from CRAN)
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>

-- 
Brian D. Ripley,                  ripley at 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



[Rd] recover() (PR#8546)
ripley@stats.ox.ac.uk