Unable to install some libraries in Rstudio

I am using ubuntu and am facing challenges installing packages like sf, units,etc in Rstudio. Any help team.

For what I can see on the screenshot you are missing the udunits2 system library, you need to install it first. On Ubuntu the command would be:

sudo apt-get install libudunits2-dev

Also, please do not post screenshots, they are considered a bad practice here, post formated code instead. Here is how to do it:

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.