[Solved] R Install XML package error: configuration failed for package ‘XML’

When installing XML packages using R language, the error information is as follows:

Solution:
Just install the appropriate libxml2-devel environment, my system is centos, if Ubuntu, it should be ibxml2-dev

install again

Read More: