`View()` sidebar workspace viewer/panel fails to render
Describe the bug
R View() panel fails to render objects
To Reproduce It works for some data frames/ plots and not others
Steps to reproduce the behavior:
- Install R VS-Code extension
- open an
Rfile -
View()anRdata frame, either by callingView(object)from the attached R console, or by using the sidebar - the viewer stays empty
Do you want to fix by self? (We hope your help!)
No- due to lack of experience with electron or js
(If yes,) what kind of help do you want? (e.g. Which file should I fix, Survey (related documents)
Expected behavior The sidebar should render the R object
Screenshots

Environment (please complete the following information):
- OS: macOS 12.5.1
- VSCode Version: 1.71.2
- R Version: 4.2.1
- vscode-R version: 2.5.3 (from the marketplace)
Additional context I basically ran into the same issue as in here I tried to delete my settings.json, and even reinstall vs-code (from homebrew).
Does View() ever work for any input (e.g. View(mtcars)) or it never works in your setup?
Hi, bumping this up. It has recently not worked for me too. I had to reinstall Vscode and R because of a problem with Python, and it just stopped working. Neither View() nor help (e.g. ?apply) are working -- neither View(mtcars).
Not entirely sure if related, but also browsing pop-ups (e.g. when authenticating BigQuery keys) also stopped working.
Plus, not sure if this helps, but it seems like the command runs -- View() on large datasets keeps running for quite a while before not returning the pop-up.
I am uploading the output of ls.str(.vsc) like the guy above
output of ls.str(.vsc).txt
Does
View()ever work for any input (e.g.View(mtcars)) or it never works in your setup?
Sorry I didn't reply. I thought my thread was dead. To answer your question, View(mtcars) works in a fresh session but quickly stops working if I load a dataframe. Based on my limited experimentation, trying to View() any dataframe bigger than 40MB causes the sidebar to stop rendering.