Closed carlosaya2 closed 2 years ago
Have you tried following that advice:
------------------------- 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)
If libxml-2.0 is already installed, check that 'pkg-config' is in your
PATH and PKG_CONFIG_PATH contains a libxml-2.0.pc file. If pkg-config
is unavailable you can set INCLUDE_DIR and LIB_DIR manually via:
R CMD INSTALL --configure-vars='INCLUDE_DIR=... LIB_DIR=...'
sorry for late reply! yes, I did @gaborcsardi but there were many issues with that one, as other packages also need that type of installation. at the end it became own issue with the python version. I was using 2.7 and it required 3+
at the end, transferring the devtools folder installed on my Mac to my vm worked. not the most computer savvy :) but it has been working so far. hesitant to upgrade python to 3 as it may crash with current.
Thank you! sorry for very late reply
cheers
Carlos
I am glad that you worked this out.
In case somebody stumbles across this, I would note that
Hi all, I would appreciate your help
I have been trying to install devtools using install.packages ("devtools") however despite it starts running. itstops half way as it has some issues (see below), because of the libxml-2.0 failing to install. I am working on R studio (2021.09, R version 4.1.2) in ubuntu 18.04.06 LTS. However, on my Rstudio on my mac it installs perfectly. on my vm running ubuntu, it does not also install from github udsing devtools::install_github("r-lib/devtools"). I am ust starting to learn R so I will highly appreciate your help and guidance.
thank you heaps,