Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hang with plot on macOS #273

Open
JulianZhang opened this issue Oct 12, 2016 · 3 comments
Open

Hang with plot on macOS #273

JulianZhang opened this issue Oct 12, 2016 · 3 comments
Labels

Comments

@JulianZhang
Copy link
Contributor

JulianZhang commented Oct 12, 2016

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
@lgastako
Copy link

I just ran into this today trying to get inline-r working in IHaskell. Did you happen to find a workaround?

@JulianZhang
Copy link
Contributor Author

No, the plot didn't work on my mac

@cfhammill
Copy link
Contributor

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() |]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants