I have previously been using the lidR package and it was working great (highly recommend). However today I simply tried to open an airborne las file and the R sessions crashed. Here is the code, it ain't complicated.
library(lidR)
las = readLAS("E:/2018LiDAR/PointCloud/Block_03/tilecls/Noise_Processed/e1042n0792.las")
This crashes the R session, either in R or R studio (grey bomb). I have tried to open multiple airborne LiDAR las files from this same dataset and they all crash R. However, when I open much larger las files (100 times larger) from a different project they load into R just fine. I have updated my R version to 3.6.2, updated to the latest version of lidR, checked my filepaths, had the las file on my C drive, and on an external hard drive, doesn't matter. I have checked the las files in other programs such as PDQ viewer and ArcGIS and they look fine and perform fine in those software programs. And like I said everything was working fine yesterday. Does anyone have any suggestions for what I could try and what is going wrong?