r-lidar / lidR

Airborne LiDAR data manipulation and visualisation for forestry application
https://CRAN.R-project.org/package=lidR
GNU General Public License v3.0
601 stars 131 forks source link

Cannot read las file #604

Closed dizayloekman closed 2 years ago

dizayloekman commented 2 years ago

In spite of having the packages rLiDAR and lidR already installed in my computer, and having R Studio updated, when I use the function readLAS(), it doesn´t work. What could be the problem?

My line of code:

LAS<-readLAS("D:/Data/las_2.las")
#> Error in readLAS("D:/Data/las_2.las") : 
#>  no records left to read
Jean-Romain commented 2 years ago

The file is corrupted I guess. Impossible to know without the file.

And there is no relationship at all between rLiDAR and lidR.