vscode-R
vscode-R copied to clipboard
Auto refresh/reload table viewer
Is your feature request related to a problem? Please describe. Table viewer does not reload automatically when the dataframe or matrix being shown changes. It is somewhat cumbersome to have to close that view and re-open it in order to reflect changes. I apologize if this has already been discussed, but I couldn't find a related issue.
Describe the solution you'd like Ideally, the view of the table will refresh/reload automatically when the dataframe or matrix being displayed is modified.
Describe alternatives you've considered
A somewhat "inelegant" alternative would be to just implement a keybinding or command that closes the view of an object foo
and then immediately calls View(foo)
again.
Additional context Below is a recording of what I mean, hoping it helps to make my point more clear. The simple example code is
library(dplyr)
library(magrittr)
# Open table viewer for `df`
df <- starwars
View(df)
# Update `df`; problem is that changes are not reflected in viewer
df %<>%
filter(height < 100)
https://user-images.githubusercontent.com/9773292/155612306-407ac62f-29ef-40a4-abf3-40f894b79b5c.mov
Many times I was about to write this feature request.
I didn't it because, in my context, I found useful to compare the previous values with the new ones. Anyway this preference (refreshing or not refreshing) may be resolved with a setting or with a UI artifact making a call to action.
Curious to see extension team's replies.
This issue is stale because it has been open for 365 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
This would be a really nice feature to have, even if it's a flag we can turn on to auto refresh or keep stale to compare as @albertosantini mentioned
I just created an account to voice my support for this feature. To expand a little further, combining the power to pop out to a new window with auto refresh would be optimal for working with large dataframes. Thanks
Just wanted to check in and see if there's been any progress on implementing an auto-refresh for the table or list? Thanks for taking the time to work on this issue.
Would be amazing have this feature. So far this is one of the main reasons to keep using RStudio.
Agreed that it wold be very nice to have!
Agreed, I miss that.
Aggred !
Agree! either a settings options "AutoRefreshDataViewer" = False/True, or a button somewhere in the data viewer to "refresh" the data view :+1: :pray:
Agreed!!
Agreed!