HaskellR
HaskellR copied to clipboard
Hang with plot on macOS
Dear all
I had try to plot on H as blow
Prelude H.Prelude> let a=[1.0,2.0,3.0,5.0,6.0,7.0,3.0,2.0,1.0]::[Double]
Prelude H.Prelude> [r|plot(a_hs)|]
0x00007fa538849d78
The plot will show as a new exec application.
But it will hang and no response, I can't close it or show a new plot.
And if I kill the poped application the ghc will be killed, the H will exit.
Prelude H.Prelude>
ghc: signal: 15
I just ran into this today trying to get inline-r working in IHaskell. Did you happen to find a workaround?
No, the plot didn't work on my mac
I'm running into something similar on Ubuntu 17.10. Using GHCi directly with inline-r
I am unable to close plot windows by clicking the window "x".
This is potentially different from what the mac users are experiencing, I can replace the plot by issuing another plot call, and close it by running [r| dev.off() |]