Skip to content
Prev 3290 / 3656 Next

I cannot install any R package on Ubuntu: help, please!

Am Donnerstag, 4. M?rz 2021, 17:52:36 CET schrieb Valerio Villani:
Hello!
I looked up the twitter link where you posted another link where you give more 
information. Citing from the error message:

Installing package into ?/home/valerio/R/x86_64-pc-linux-gnu-library/4.0?
(as ?lib? is unspecified)
trying URL 'https://cloud.r-project.org/src/contrib/here_1.0.1.tar.gz'
Warning in install.packages :
  URL 'https://cloud.r-project.org/src/contrib/here_1.0.1.tar.gz': status was 
'Couldn't resolve host name'
...

This means that your Linux system did not manage to look up the IP address of 
the server (cloud.r-project.org) from where it wanted to download the package. 
As a consequence, the package could not be downloaded.

A likely cause for this is that the internet connection of your Linux system 
is not set up correctly.

Johannes