I'm trying to plot a large LAS (9GB, 269,671,586 points) using plot in the lidR library. (RStudio version 2022.07.2 Build 576, R version 4.2.2, lidR version 4.0.1)
I have plotted smaller LAS successfully but with the large las the plot (rgl) window opens but then RStudio crashes. There are no errors sent to the console that I can see.
I have tried using
options(rgl.debug=TRUE) as per this answer but it has no effect.
las_check returns no significant problems with the las. I'm just using
plot(las) to do the plotting.
I'm guessing that it's the size of the LAS that is the problem but I'm not sure. How can I either plot a large las with lidR (if that is likely to be the problem) or get a detailed output for debugging?