recover() (PR#8546)

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

recover() (PR#8546)

Kjetil Halvorsen
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)

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Reply | Threaded
Open this post in threaded view
|

Re: recover() (PR#8546)

Brian Ripley
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 [hidden email] 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)
>
> ______________________________________________
> [hidden email] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>

--
Brian D. Ripley,                  [hidden email]
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

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel