tylermorganwall / rayshader

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

R session abort when loading rayshader #229

Closed ppramg closed 1 year ago

ppramg commented 2 years ago

Hello,

I'm sorry if this makes a duplicate, but as the other issue is closed I'm not sure if you'll see it. Everything is in the title. I installed latest versions of Rstudio, Rtools and R, but as soon as I call the library (rayshader), R session aborts... I tried to install from cran and from your github, and I tried to completely remove the rgl package but nothing helped... I f you have a suggestion to fix that I would be very grateful !

Thanks for your great work by the way, I love your packages.

mhwachter commented 2 years ago

Hi,

I have the same issue in Rstudio, but I think the issue here lies with RStudio. I do not have this problem when I load the package from the terminal or VS code.

ppramg commented 2 years ago

Hi, Thank you for your response. Indeed it's the same here, it works when I load the package from R terminal outside from Rstudio. I'll try to get use to used to R without Rstudio for these purpose ! Thank you again !

mhwachter commented 2 years ago

This might be relevant: https://github.com/rstudio/rstudio/issues/11076 There is a patch for R 4.2.0: https://cran.r-project.org/bin/windows/base/rpatched.html But I haven't tried it yet.

tylermorganwall commented 1 year ago

I believe this was an issue with RStudio and is fixed in the latest versions of R/RStudio.