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
Can only filter data viewer columns that are in the current visible frame #6147
RStudio Edition : Desktop
RStudio Version : 1.3
OS Version : Windows 10
R Version : 3.5.2
Steps to reproduce the problem
Create a data frame larger than 50 columns testData = data.frame(logicalVar = sample(c(T,F), size = 10, replace = T), doubleVars = matrix(rnorm(500), 10)) View(testData)
Filter column 1
Click the >> forward frame button to view columns 2-51
Note that the filtering is lost
Describe the problem in detail
We currently do not have any saved state when changing a view frame. The grid_data call on column shift is [mostly] stateless so when we change frames that filtering data is lost. Adding state here won't be entirely trivial so I'm making an issue for it.
This will be a bit tricky as the client only has the column data zero-indexed within the current frame that it's viewing and the server side shifts it up. We would have to find some way to fake negative indices or find a way to save it server side until a reset it called. It's a bit awkward at the moment.
Came here to report this same issue, and glad to see @adamconroy has already submitted such a thorough report. I know you're not supposed to comment on issues just to say "+1", but it is an annoying problem and it would be great to see it fixed when possible. Thanks to all who are working on RStudio.
Although labelled as an enhancement, it is really a faulty behaviour because it can seriously mislead the user, as it is an unexpected behaviour. I think this deserves more urgency than "backlog/later".
Activity
francisbarton commentedon Jun 12, 2020
Came here to report this same issue, and glad to see @adamconroy has already submitted such a thorough report. I know you're not supposed to comment on issues just to say "+1", but it is an annoying problem and it would be great to see it fixed when possible. Thanks to all who are working on RStudio.
ronblum commentedon Sep 24, 2020
Note that we now have three duplicate issues:
stale commentedon Feb 4, 2021
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs, per https://github.com/rstudio/rstudio/wiki/Issue-Grooming. Thank you for your contributions.
francisbarton commentedon Feb 9, 2021
Seems like there was a whole bunch of activity and interest in this and related Data Viewer issues so it feels reasonable to keep this alive?
francisbarton commentedon Jan 12, 2022
By the way, i discovered today that sorting also isn't maintained while paging.
(Edit: this was already pointed out in #7306, sorry)
7 remaining items
luisvalenzuelar commentedon Jun 21, 2024
Although labelled as an enhancement, it is really a faulty behaviour because it can seriously mislead the user, as it is an unexpected behaviour. I think this deserves more urgency than "backlog/later".
kellytdunn commentedon Aug 28, 2024
Agreed, I just discovered that sorting is not retained when scrolling to columns 51 + and am bothered by this.
jthomasmock commentedon Sep 5, 2024
Thanks for your interest! We will be looking at the Data Viewer for general improvements in the future (as seen from #7600)
add NEWS entry for continuous data viewer column virtualization (#6147)
news: split data viewer #6147 into per-feature entries
Data viewer: scroll continuously through columns instead of paginating (