Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What problem did you solve?
This is a proof of concept for using the jupyter notebook api for data viewing, as discussed in #506. Be aware it makes jupyter extension a requisite for vscode-R.
How can I check this pull request?
Try this code:
Screenshot
It loads the data by pieces, but attempts to load all data (couldn't figure out how to stop this behavior). So, during loading, various call to R are made to create the appropriate files:
Most data frames will load pretty fast, only when there is a lot of data it can take longer. The cool thing is that the viewer displays a "loading status" cue and after it finishes, it's usually smooth to navigate. Rarely, for big data frames, it hangs, just close and try again.
Files are created accordingly:
Closing one viewer automatically deletes its associated files.
Filters don't do much: you can filter for partial matches on strings and numbers; logical columns I couldn't figure out how the filter works; numeric columns will filter for 0 when you pass illogical arguments.