Closed mavavilj closed 2 years ago
The CRAN provides binary versions of the packages for Windows because it is so difficult to install packages on windows that someone has to do the job for Windows users. This is why it is easy on Windows. On linux it is much easier so nobody is doing the job for you. As a consequence it is more difficult...
That being said your problem is related to sf
and RcppArmadillo
. I'm not the maintainer of these packages and the message you copy pasted only tells that installation of classInt
RcppArmadillo
and sf
failed. Try to install classInt
alone and look at the error. Then RcppArmadillo
. When both will be ok sf
will be ok as well I guess
I did some manual messing around and got RccpArmadillo installed by following instructions here:
https://tommasorigon.github.io/CompStat/exe/un_A2.html
I still didn't install sf, but when I did
install.packages("lidR")
in RStudio, then lidR is now (surprisingly) working properly.
But it might be good idea to add more complete instructions for installing on latest Ubuntu. `
It is not my role to explain how to install other R packages on Linux or to teach how R works on Linux. I'm only maintaining lidar related packages and there is already tons of resources on internet :wink: I'm glad you solved your problem.
Installing on Ubuntu 20.04.3 LTS and RStudio 2021.09.1 Build 372 the latest from Github using:
and then
goes OK, but
I end up to:
Trying to install e.g. sf manually does not work either.
Installation seemed much easier with Windows 10, is it better maintained?