Strange addTaskCallback work in RStudio
问题 This is my next question from cycle of "strange" questions. I found same difference in code execution in R console and RStudio and couldn't understand reason of it. It's also connected with incorrect work of "track" package in RStudio and R.NET as I'd written before in Incorrect work of track package in R.NET So, let's look at example from https://search.r-project.org/library/base/html/taskCallback.html (I corrected it a little for correct data output for sum in RStudio) times <- function