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
View() data table disappears after switching tabs and only re-renders after toggling the "Summary" button #18215
RStudio Edition : Desktop
RStudio Version : RStudio 2026.06.0+242
OS Version : Windows 11 Home Single Language 25H2 26200.8737
R Version : 4.6.0 (2026-04-24 ucrt)
Steps to reproduce the problem
Run View(mtcars) (or any other dataframe) from an R script.
Verify that the data viewer tab opens and displays the dataset correctly.
Switch to another tab in the source pane (e.g., click back on your .R script tab).
Switch back to the mtcars data viewer tab.
Notice that the data table is not visible (the viewer area is blank).
Click the Summary button in the viewer toolbar. Notice that the data table finally re-renders.
Switch tabs again; the bug repeats, requiring another click on Summary to restore the table.
Describe the problem in detail
When viewing a dataset using View(), the data table renders perfectly the first time. However, when I switch to another tab (such as an R script) and then switch back to the data viewer tab, the data table fails to render and appears blank.
The data only reappears after I click the Summary button in the viewer toolbar (which toggles the statistics panel and forces the UI to re-render). This behavior repeats every time I switch between tabs, requiring me to toggle the Summary button back and forth every time I want to see my data.
I'm not able to reproduce on Windows either. @daxvs, the video you shared is with a different dataset than the one you report in the reproduction example. Are you certain the issue reproduces even with mtcars? If so, can you share a video?
Hi! Thanks for looking into this.
I just re-tested, and mtcars is indeed too small to trigger the issue.
It seems the bug requires a slightly larger dataset to become visible. The video I shared was recorded using a larger dataset where the behavior occurs, but you can easily reproduce it using iris dataset instead of mtcars.
Activity
gtritchie commentedon Jul 14, 2026
@kevinushey I haven't been able to repro this with either 2026.06 or 2026.07, but I only tried on Mac so far.
kevinushey commentedon Jul 14, 2026
I'm not able to reproduce on Windows either. @daxvs, the video you shared is with a different dataset than the one you report in the reproduction example. Are you certain the issue reproduces even with mtcars? If so, can you share a video?
daxvs commentedon Jul 14, 2026
Hi! Thanks for looking into this.
I just re-tested, and
mtcarsis indeed too small to trigger the issue.It seems the bug requires a slightly larger dataset to become visible. The video I shared was recorded using a larger dataset where the behavior occurs, but you can easily reproduce it using
irisdataset instead ofmtcars.data viewer: don't corrupt grid state while the tab is hidden (#18223)
backport console error and data viewer fixes to rel-pacific-dogwood (#…
Correct 2026.08 release notes and What's New coverage (#18389)