httpgd works with RStudio:
Open the plot viewer in the RStudio Viewer tab:
Or open it in an external browser:
Resizing the Viewer tab while a plot exists in the Plots tab can
cause RStudio to activate its own graphics device. When this happens,
httpgd shows “Device inactive.” in the Viewer
tab.
Check dev.list(), you will see an extra
RStudioGD device:
Close it with dev.off():
Now only the httpgd device remains. The issue should not
reappear.