-
Notifications
You must be signed in to change notification settings - Fork 214
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
XQuartz and Rayshader Issue #146
Comments
Does rgl work? When you run this code, does R hang? M <- matrix(rnorm(300), 3, 100, dimnames = list(c('x', 'y', 'z'),
rep(LETTERS[1:4], 25)))
M <- t(M)
rgl::points3d(M) I would monitor this issue: as it seems like other people may be having similar issues and that thread might have useful information. |
Yes, running that code causes R to hang on my system. Thanks for the reference, I will follow that thread. |
@redfoxgis and @tylermorganwall - based on the linked issue above, the best resolve seems to be running I was able to then run all of the plots from the demo for Rayshader, but you can only (as far as I have seen) render plots using |
So |
@tylermorganwall sorry, you're right. I have to additionally run |
I've been rendering widgets. movies and videos fine since starting to use
Unpicking...
Ah, so the issue is in |
Yes, this was just changed in the latest version of rgl (to use the webshot2 functionality to enable snapshots when rgl.useNULL = TRUE). Probably just an oversight, although I could detect when rgl.useNULL is TRUE and then not pass the |
Python user here, totally amazed by this beautiful package. PS: before upgrading XQuartz, everything worked fine : one figure in a R pane, another one in a XQuartz window. Now after upgrading, render_snapshot() gives a black window in the R pane (as mentioned by @tylermorganwall ) |
@egayer See some of the off-topic comments in dmurdoch/rgl#8 . Issues may boil down to fiddliness related to |
On a Mac, have switched to using rgl::rglwidget to view and save post-rendering.
|
The issues with XQuartz should be fixed in the latest versions of rgl—anyway, it's not a rayshader bug, so I'm going to close this issue. |
Amazing software and a true pleasure to use--thank you!
There was an XQuartz update on my Mac a few weeks ago. Ever since that update, I have been unable to use Rayshader. I am not sure if this is an incompatibility issue, an XQuartz issue, or a combination of bad installs of R, and XQuartz. I have tried uninstalling and reinstalling both n times, including using different versions of R and XQuartz. I have tried doing a complete wipe of R (then reinstall) using:
R always hangs up indefinitely after calling the rayshader library:
library(rayshader)
Here are the R and XQuartz specs that are currently on my Mac:
MacOS Big Sur Version 11.2
XQuartz 2.7.11 (xorg-server 1.18.4)
R version 4.0.3 (2020-10-10) -- "Bunny-Wunnies Freak Out"
Platform: x86_64-apple-darwin17.0 (64-bit)
Any recommendations on how to solve this issue?
The text was updated successfully, but these errors were encountered: