Having Issues Installing Tidyverse

I'm new to R and recently installed RStudio on Ubuntu. I'm trying to install the tidyverse package, but I encountered an error message saying "ANTICONF ERROR
Configuration failed because libxml-2.0 was not found. Try installing:

  • deb: libxml2-dev (Debian, Ubuntu, etc)
  • rpm: libxml2-devel (Fedora, CentOS, RHEL)
  • csw: libxml2_dev (Solaris)
    After trying to install tidyverse in RStudio, I received the error message "ERROR: dependencies ‘googledrive’, ‘googlesheets4’, ‘httr’, ‘ragg’, ‘rvest’, ‘xml2’ are not available for package ‘tidyverse’," along with 11 warnings(There were 11 warnings (use warnings() to see them)). I'm not sure how to resolve these issues. Could you provide guidance on how to proceed?

Have you installed this?

IF not, in a Ubuntu terminal do

sudo apt install  libxml2-dev
1 Like

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.