You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Do not refresh data viewer if object title is ., but open new instance instead #7737
By default, RStudio refreshes an already existing data viewer tab of the same title instead of opening a new tab. This makes sense for a normal View(mtcars) invocation but is rather unfavorable for piped usage, i.e. running different data analysis pipelines (interactively) with a %>% View() step at the end. Because when piping View(), the resulting data viewer tab is always named ..
In such cases, it would be convenient if an already existing tab wouldn't be refreshed but a new one created (manually setting View(title = "...") is tedious).
Ideally this non-refresh behaviour would be made opt-out (or opt-in) through RStudio's global options.
Addendum: This is not an issue with base R's pipe operator (|>), only with magrittr's (%>%).
Activity