Re: [Rd] Avoid entering {} evaluation in debugger

2013-05-06 Thread Vitalie Spinu
>> "Josh O'Brien" >> on Mon, 6 May 2013 15:29:39 -0700 (PDT) wrote: [...] > I believe that your sessionInfo() results leave out the most important > detail, which is that you're running R from Emacs/ESS. Is that right? Nope, I have reported it from R terminal. > I get this same, occasion

Re: [Rd] Avoid entering {} evaluation in debugger

2013-05-06 Thread Josh O'Brien
Vitalie Spinu wrote > Hi, > >f1 <- function(){ >browser() >print("aaa") >} > >f2 <- function(){ >a <- 12 >eval(envir = parent.frame(), > bquote({ >b <- .(a) >})) >} > > > Now do, > > f1() > > and enter

Re: [Rd] Catch SIGINT from user in backend C++ code

2013-05-06 Thread Karl Forner
Hello, I once wrote a package called RcppProgress, that you can find here: https://r-forge.r-project.org/R/?group_id=1230 I did not try it for a long time, but it was developed to solve this exact problem. You can have a look the its companion package: RcppProgressExample. Here's a link to the or