Sometimes -- and I cannot find any pattern to when this occurs -- RStudio will open a view() window to inspect an object whenever I run some code. It seems to happen more frequently when I do anything involving lists, but it's really inconsistent. Any line of code can cause this, which is seriously annoying. Today, after every. single. line. of code I run, the viewer opens up a new tab showing me the structure of a list I have in my environment, and I have to close it or I'll have numerous replicate tabs open.
Related question on StackOverflow: rstudio - R Studio opens data frames unpromted when running code - Stack Overflow
How do I stop this?