question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

plots generated by httpgd do not appear automatically

See original GitHub issue

I 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:closed
  • Created 2 years ago
  • Comments:11 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
jooyoungseocommented, Jun 17, 2021

Yes, reinstalling the ‘ms-vsliveshare.vsliveshare’ has resolved this issue. Thank you very much!

0reactions
ElianHughcommented, Jun 16, 2021

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found