tylermorganwall / rayshader

R Package for 2D and 3D mapping and data visualization
https://www.rayshader.com/
2.05k stars 211 forks source link

library(rayshader) never loads on MacOS #97

Closed paulditterline closed 3 years ago

paulditterline commented 4 years ago

Installed both the CRAN and GitHub version. Session info:

R version 3.6.2 (2019-12-12)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS Catalina 10.15.3

Matrix products: default
BLAS:   /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/3.6/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
[1] compiler_3.6.2 tools_3.6.2   

When I run library(rayshader), it just hangs forever. I've let it run 10 minutes, eventually just freezes my MacBook Pro. I've installed XQuartz and restarted as well.

Updated to Catalina tonight, but same issue was on Mojave.

tylermorganwall commented 4 years ago

Does it hang when you load the rgl package? Try loading the dependencies one by one and see if one of those is causing the issue.

intertwine commented 4 years ago

I was able to get rayshader to load successfully (R version 4.0 (CRAN); Mac OS Catalina, Beta, 10.15.5) by installing XQuartz from from xquartz.org.

paulditterline commented 4 years ago

Looks like rgl may be the issue. After install.packages(rgl), library(rgl) just hangs. I also did a fresh install of XQuartz from xquartz.org.

tylermorganwall commented 3 years ago

Closing due to this being an rgl issue.

paulditterline commented 3 years ago

Happy Thanksgiving!

On Thu, Nov 26, 2020 at 11:12 AM tylermorganwall notifications@github.com wrote:

Closed #97 https://github.com/tylermorganwall/rayshader/issues/97.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tylermorganwall/rayshader/issues/97#event-4043204479, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACMR6UY7XBOGUQFOQWC5DBLSRZ453ANCNFSM4KOXJZ5A .

will-rogers commented 3 years ago

Hey all, did anyone ever find a fix to this @paulditterline @tylermorganwall? I have the same issue after updating my computer, R, RStudio, all packages, XCode etc. I posted this question to the rgl repo https://github.com/dmurdoch/rgl/issues/11. Thanks!