Re: [Rd] recover() (PR#8546)

From: <ripley_at_stats.ox.ac.uk>
Date: Wed 01 Feb 2006 - 07:24:06 GMT


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@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@r-project.org mailing list
> https://stat.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

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Wed Feb 01 18:36:06 2006

This archive was generated by hypermail 2.1.8 : Wed 01 Feb 2006 - 10:02:51 GMT