Skip to content

httpgd plot viewer fail in remote server #947

@QiangShiPKU

Description

@QiangShiPKU

Describe the bug
When I press 'Enter & Command', R code can be run in R terminal. However, when I try plotting, httpgd plot viewer can open, showing "Status: 404 Reason: Not Found". By clicking "Open in External Browser" button, I can see the plot.

To Reproduce
see above and screenshot

Do you want to fix by self? (We hope your help!)

No

(If related)setting.json

{
    "r.rterm.option": [
        "--r-binary=/raid1/shiq/app/miniconda3/envs/R/bin/R"
    ],
    "r.rpath.linux": "/raid1/shiq/app/miniconda3/envs/R/bin/R",
    "r.rterm.linux": "/raid1/shiq/app/miniconda3/envs/R/bin/radian",
    "r.bracketedPaste": true,
    "editor.hover.enabled": false,
    "r.plot.useHttpgd": true
}

Expected behavior
httpgd plot viewer can show plot normally

Screenshots
截屏2022-01-19 下午5 13 32

Environment (please complete the following information):

  • OS: Ubuntu 18.04.2
  • VSCode Version: 1.63.2
  • R Version: 4.1.1
  • vscode-R version: 2.3.6

Additional context
No

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