fslaborg / RProvider

Access R packages from F#
http://fslab.org/RProvider/
Other
235 stars 69 forks source link

Graphics are unresponsive on Windows and macOS #223

Open AndrewIOM opened 2 years ago

AndrewIOM commented 2 years ago

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.

halcwb commented 2 years ago

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

AndrewIOM commented 2 years ago

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: