nx10 / httpgd

Asynchronous http server graphics device for R.
https://nx10.github.io/httpgd
GNU General Public License v2.0
368 stars 19 forks source link

No plot viewer shown in vscode #131

Closed DrAnnaSchwartz closed 1 year ago

DrAnnaSchwartz commented 1 year ago

httpgd package was installed, and r.plot.useHttpgd is set to true. However running a simple plot command, plot(rnorm(100)) as an example, only outputs a Rplots.pdf file. I was expecting a plot viewer panel in the vscode, like in Rstudio. Is this a bug or I missed something? I have R4.2.2 installed and Radian, languageserver, vscDebugger all installed, along with R extension and R Debugger extension. Googling all day long, but no solution found on this. Thanks.

renkun-ken commented 1 year ago

If you call explicitly httpgd::hgd() and it works properly, then it should probably be an issue in vscode. See https://github.com/REditorSupport/vscode-R/issues/1297.

nx10 commented 1 year ago

Seems to be resolved over at vscode-R. Thanks @renkun-ken !