Greetings !
I use R-notebooks to help me clean datasets prior to database import. I usually have 1 or more data frames "open" (i.e. popped out and viewable in a separate window) while I go through my scripting template (which is an Rmd R-Notebook file).
The issue
-- Currently, whenever I run a code-block (ctrl + shift + enter), the data frame in the pop-out window resets. This includes a resetting of any filters I had used in the data frame window.
Moreover, this occurs if I use the Console in any way (i.e. 2 + 2).
The effect also occurs if I run a portion of a code-block, or if I use the green "run" button.
Previously
, something like this would occur ONLY IF I was re-writing to that popped out data frame, and I would get a pop-out warning, stating: "Data Tables warning: table id=rsGridData - Cannot reinitialize DataTable. For more information...
"
Currently, I get this warning -multiple times- for even a simple line of code that does not write to the DF, e.g.:
EDD02 %>%
{addmargins(table(.$PROJ_status, .$MPK_match, useNA="ifany", deparse.level = 2))}
What I expected
-- I had assumed that when this occurred previously, it was because I was updating the data in the data frame, so the pop-out had to reset its view. However, I did not expect (nor had it happened previously, say before May 2024) that reading from the data frame or even typing in the Console would drive this behavior.
The current behavior is a bit of a problem, as I want/need to look at subsets of modestly-large data frames while I detect and correct particular types of errors in the sample data.
Question(s)
: Is there some way I can "fix" this or otherwise get back to the previous behavior? Are there other solutions to this issue? Does this occur for others ?
Environment info::
Win11, platform: x86_64-w64-mingw32
R version 4.4.1 "Race for Your Life"
Rstudio: desktop, version 2024.9.0.375, "Cranberry Hibiscus"