Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

httpgd not showing plots and plot do not show up on show viewers #1456

Open
felipedalton opened this issue Nov 27, 2023 · 8 comments
Open

httpgd not showing plots and plot do not show up on show viewers #1456

felipedalton opened this issue Nov 27, 2023 · 8 comments
Labels

Comments

@felipedalton
Copy link

Describe the bug
I've installed the httpgd package and made the main settings changes like "r.plot.useHttpgd": true and added options(vsc.use_httpgd = TRUE) to my Rprofile but plots are neither showing up or seem to be ploted anywhere (using RPlot: Show viewers or httpgd::hgd_view()

To Reproduce
Install R, languageserver, radian, httpgd, R VS Code extension, added radian path to rmac and added settings and Rprofile changes for httpgd to be used instead of PNG. Then attempted top plot any example hist(rnorm(100))

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

Expected behavior
plots showing up in R Plot view

Environment (please complete the following information):

  • OS: macOS Sonoma
  • VSCode Version: 1.84.2
  • R Version: 4.3.2
  • vscode-R version: 2.8.2
@benz0li
Copy link
Contributor

benz0li commented Nov 27, 2023

See randy3k/radian#446

Cross reference: #1447

@felipedalton
Copy link
Author

thanks @benz0li so if i just remove radian path from rmac i should be good to go? Do you know if there are any plans to tackle this issue from radian?

@felipedalton
Copy link
Author

Just removed the path and it worked! Hopefully we can go back to using it again in the future

@benz0li
Copy link
Contributor

benz0li commented Nov 28, 2023

thanks @benz0li so if i just remove radian path from rmac i should be good to go?

That is one way dealing with this issue: Using standard R.

Do you know if there are any plans to tackle this issue from radian?

Yes: Downgrade to prompt-toolkit==3.0.39, i.e. pip install --force-reinstall prompt-toolkit==3.0.39 after you have installed everything else.

@benz0li
Copy link
Contributor

benz0li commented Nov 28, 2023

radian v0.6.9 is out which resolves this issue.

@felipedalton felipedalton reopened this Nov 28, 2023
@felipedalton
Copy link
Author

@benz0li I've just reinstalled radian and httpgd package but it seems it is not plotting still, do you know if this new version was already deployed?

@benz0li
Copy link
Contributor

benz0li commented Nov 29, 2023

@benz0li I've just reinstalled radian and httpgd package but it seems it is not plotting still, do you know if this new version was already deployed?

https://pypi.org/project/radian/

@felipedalton
Copy link
Author

that's strange I've just reinstalled radian, httpgd, changed vsc.use_httpgd to TRUE and still got no response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants