It might be this issue with loading rgl in R 4.2 on Windows: rgl crashes in RStudio · Issue #11043 · rstudio/rstudio · GitHub. Try one of the workarounds of either installing the latest development version of rgl, or adding options(rgl.debug = TRUE)
to your .Rprofile
until the next release of rgl makes it to CRAN.
1 Like