Skip to content

Canonical data viewer does not work #1724

Description

@zhizhongpu

Describe the bug

Running view(df) loads an ugly, pop-up data viewer instead of the canonical data viewer promised here.

Image

To Reproduce
Steps to reproduce the behavior:

  1. Go to an R script in VS Code / Open R terminal or Radian terminal
  2. run View(mtcars)
  3. See the ugly Window in the screenshot popping up outside VS Code

Can you fix this issue by yourself? (We appreciate the help)

No

Please attach setting.json

setting.json

{
    "workbench.editorAssociations": {
        "*.ipynb": "jupyter.notebook.ipynb"
    },
    "security.workspace.trust.untrustedFiles": "open",
    "latex-workshop.latex.autoBuild.run": "never",
    "editor.suggestSelection": "first",
    "terminal.integrated.inheritEnv": false,
    "jupyter.interactiveWindow.textEditor.executeSelection": true,
    "interactiveWindow.executeWithShiftEnter": true,
    "editor.minimap.enabled": false,
    "[python]": {
        "editor.defaultFormatter": "charliermarsh.ruff"
    },
    "jupyter.runStartupCommands": [
        "import os\n",
        "def cdfc(path='c:/gh/Faculty'):\n",
        "    os.chdir(path)\n",
        "    print(f'Changed directory to: {os.getcwd()}')\n",
    ],
    "accessibility.signals.lineHasError": {
        "sound": "off",
        "announcement": "off"
    },
    "accessibility.signals.lineHasWarning": {
        "sound": "off",
        "announcement": "off"
    },
    "accessibility.signals.lineHasFoldedArea": {
        "sound": "off",
        "announcement": "off"
    },
    "accessibility.signals.lineHasBreakpoint": {
        "sound": "off",
        "announcement": "off"
    },
    "accessibility.signals.lineHasInlineSuggestion": {
        "sound": "off"
    },
    "accessibility.signals.terminalQuickFix": {
        "sound": "off",
        "announcement": "off"
    },
    "accessibility.signals.onDebugBreak": {
        "sound": "off",
        "announcement": "off"
    },
    "accessibility.signals.noInlayHints": {
        "sound": "off",
        "announcement": "off"
    },
    "accessibility.signals.taskCompleted": {
        "sound": "off",
        "announcement": "off"
    },
    "accessibility.signals.taskFailed": {
        "sound": "off",
        "announcement": "off"
    },
    "accessibility.signals.terminalCommandFailed": {
        "sound": "off",
        "announcement": "off"
    },
    "accessibility.signals.terminalBell": {
        "sound": "off",
        "announcement": "off"
    },
    "accessibility.signals.notebookCellCompleted": {
        "sound": "off",
        "announcement": "off"
    },
    "accessibility.signals.notebookCellFailed": {
        "sound": "off",
        "announcement": "off"
    },
    "accessibility.signals.diffLineInserted": {
        "sound": "off"
    },
    "accessibility.signals.diffLineDeleted": {
        "sound": "off"
    },
    "accessibility.signals.diffLineModified": {
        "sound": "off"
    },
    "accessibility.signals.chatRequestSent": {
        "sound": "off",
        "announcement": "off"
    },
    "accessibility.signals.chatResponseReceived": {
        "sound": "off"
    },
    "accessibility.signals.clear": {
        "sound": "off",
        "announcement": "off"
    },
    "editor.accessibilitySupport": "off",
    "accessibility.signals.progress": {
        "sound": "off",
        "announcement": "off"
    },
    "update.showReleaseNotes": false,
    "terminal.integrated.profiles.linux": {
        "bash": {
            "path": "bash",
            "icon": "terminal-bash"
        },
        "zsh": {
            "path": "zsh"
        },
        "fish": {
            "path": "fish"
        },
        "tmux": {
            "path": "tmux",
            "icon": "terminal-tmux"
        },
        "pwsh": {
            "path": "pwsh",
            "icon": "terminal-powershell"
        }
    },
    "git.openRepositoryInParentFolders": "always",
    "[latex]": {
        "editor.defaultFormatter": "James-Yu.latex-workshop"
    },
    "window.autoDetectColorScheme": true,
    "workbench.startupEditor": "none",
    "[bibtex]": {
        "editor.defaultFormatter": "James-Yu.latex-workshop"
    },
    "latex-workshop.linting.chktex.enabled": true,
    "terminal.integrated.enableMultiLinePasteWarning": false,
    "markdown-preview-enhanced.enablePreviewZenMode": true,
    "editor.autoClosingBrackets": "never",
    "git.autofetch": true,
    "[r]": {},
    "dataWrangler.outputRenderer.columnInsights.displayByDefault": true,
    "dataWrangler.panels.displayOnTabFocus": false,
    "github.copilot.nextEditSuggestions.enabled": true,
    "jupyter.askForKernelRestart": false,
    "security.workspace.trust.enabled": false,
    "security.workspace.trust.emptyWindow": false,
    "chat.viewSessions.orientation": "stacked",
    "[json]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "[r]": {
        "editor.defaultFormatter": "Posit.air-vscode"
    },
    "files.associations": {
        "*.qsf": "json"
    },
    "claudeCode.preferredLocation": "panel",
    "workbench.preferredLightColorTheme": "Visual Studio Light",
    "[jsonc]": {
        "editor.defaultFormatter": "vscode.json-language-features"
    },
    "testing.resultsView.layout": "treeLeft",
    "extensions.ignoreRecommendations": true,
    "githubPullRequests.pullBranch": "never",
    "explorer.copyRelativePathSeparator": "/",
    "claudeCode.initialPermissionMode": "plan",
    "claudeCode.useCtrlEnterToSend": true,
    "window.commandCenter": false,
    "chat.titleBar.openInAgentsWindow.enabled": false,
    "files.exclude": {
        "__pycache__/": true,
        ".cursor": true,
        ".pytest_cache": true,
        ".Rhistory": true,
        ".ruff_cache/": true,
        ".venv/": true,
        "**.Rproj**": true,
        "**/__pycache__/**": true,
        "**/**.lyx~": true
    },
    "jupyter.interactiveWindow.creationMode": "perFile",
    "diffEditor.experimental.showMoves": true,
    "chat.tools.urls.autoApprove": {
        "https://code.visualstudio.com": true,
        "https://github.com/microsoft/vscode/wiki/*": true,
        "https://raw.githubusercontent.com/al-org-dev/al-folio-core/main/_includes/head.liquid": {
            "approveRequest": false,
            "approveResponse": true
        }
    },
    "chat.tools.terminal.autoApprove": {
        "ForEach-Object": true
    },
    "r.rterm.windows": "C:\\Users\\peace\\.local\\bin\\radian.exe",
    "r.rterm.option": [
        "--no-save",
        "--no-restore",
        "radian"
    ],
    "r.bracketedPaste": true,
    "ruff.path": [
        "[\"C:\\Users\\peace\\AppData\\Roaming\\uv\\tools\\ruff\"]"
    ],
    "terminal.integrated.initialHint": false,
    "r.lsp.debug": true,
    "r.lsp.diagnostics": false
}

Expected behavior
The canonical data viewer launches

Environment (please complete the following information):

  • OS: Windows 11
  • VSCode Version: 1.132.1
  • R Version: 4.6.1
  • vscode-R version: 2.8.8

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions