RProvider icon indicating copy to clipboard operation
RProvider copied to clipboard

Graphics are unresponsive on Windows and macOS

Open AndrewIOM opened this issue 4 years ago • 2 comments

What? ...when I plot something the plot window is locked up by the REngine. I cannot resize the window and if I try to close the plot window it crashes the F# process (see gif).

rprovider-plot

Originally posted by @nhirschey in https://github.com/fslaborg/RProvider/issues/216#issuecomment-923204824


I have also experienced for many years that Quartz rendering of graphics on macOS beachballs when using R graphics. X11 does not beachball, but has no antialiasing.

AndrewIOM avatar Sep 20 '21 21:09 AndrewIOM

@AndrewIOM Shouldn’t this issue need a higher priority? With every creation of a graph, you need to restart VScode.

halcwb avatar Nov 30 '21 11:11 halcwb

I've tested using RDotNet directly with Quartz on macOS and get the same behaviour (freeze and beachball). The X11 graphics device works fine. It may be that the issue needs addressing there, but needs further investigation.

Possible leads:

  • With python R interop: https://stackoverflow.com/questions/47029501/rpy2-plot-problemsdevice-not-responding-rpy2-rinterface-null
  • (2007 - may not longer be relevant): https://stat.ethz.ch/pipermail/r-sig-mac/2007-January/003591.html

AndrewIOM avatar Dec 01 '21 10:12 AndrewIOM