plots generated by httpgd do not appear automatically
See original GitHub issueI was wondering if there would be any convenient way to find generated plot outputs with httpgd
.
Nothing happens after creating a plot. I have to manually open a browser and go to the url specified within httpgd::hgd_browse()
.
The following includes my options in Rprofile
:
options(vsc.rstudioapi = TRUE)
options(vsc.use_httpgd = TRUE)
Of course, httpgd
has been installed.
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (8 by maintainers)
Top Results From Across the Web
httpgd: A 'HTTP' Server Graphics Device
Description A graphics device for R that is accessible via network protocols. This package was created to make it easier to embed live...
Read more >Using httpgd in VSCode: A web-based SVG graphics device
First, we need to overwrite the default graphics device so that calling plot does not immediately result in a new window we have...
Read more >R/httpgd.R - RDRR.io
Asynchronous HTTP server graphics device. #' #' This function initializes a httpgd graphics device and #' starts a local webserver, that allows for...
Read more >httpgd package - RDocumentation
A graphics device for R that is accessible via network protocols. This package was created to make it easier to embed live R...
Read more >How to show R graph from visual studio code - Stack Overflow
I'm using httpgd and if I run a script line by line (e.g. Ctrl+Enter) that has a plot call, VSCode will automatically open...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yes, reinstalling the ‘ms-vsliveshare.vsliveshare’ has resolved this issue. Thank you very much!
it might be worth catching errors in the initial attempt to access the Live Share API, so we can provide a more user friendly error message. Not sure when in the startup process the error is thrown, so may not be possible for this case - will have to check