![]() ![]() Libxml2-dev is already the newest version.Ġ upgraded, 0 newly installed, 0 to remove and 4 not upgraded. UPDATE I already had libxml2 installed in the system see: sudo apt-get install libxml2Ġ upgraded, 0 newly installed, 0 to remove and 4 not sudo apt-get install libxml2-dev Xml2-config is /opt/dev/anaconda/2018.12/bin/xml2-configīut setting the config in the R environment doesn't help: Sys.setenv(XML_CONFIG="/opt/dev/anaconda/2018.12/bin/xml2-config") ![]() Installation of package ‘XML’ had non-zero exit status noĮRROR: configuration failed for package ‘XML’ Located parser file -I/opt/dev/anaconda/2018.12/include/libxml2 -I/opt/dev/anaconda/2018.12/include/parser.hĬhecking for 1.8: -I/opt/dev/anaconda/2018.12/include/libxml2 -I/opt/dev/anaconda/2018.12/includeĬhecking for xmlParseFile in -lxml2. usr/bin/pkg-configĬhecking for xml2-config. none neededĬhecking how to run the C preprocessor. yesĬhecking for gcc option to accept ISO C89. noĬhecking whether we are using the GNU C compiler. a.outĬhecking whether we are cross compiling. yesĬhecking for C compiler default output file name. ** package ‘XML’ successfully unpacked and MD5 sums checkedĬhecking whether the C compiler works. Installing package into ‘/home/bravegag/R/x86_64-pc-linux-gnu-library/3.4’Ĭontent type 'application/x-gzip' length 1600788 bytes (1.5 MB) We are using the bash command because the downloaded script was a bash script. Use the bash command followed by the package name. How can I fix this? R version 3.4.4 () - "Someone to Lean On"Ĭopyright (C) 2018 The R Foundation for Statistical Computing Now, we will begin with the installation of the Anaconda manager. ![]() You’ll output this to a file called anaconda.sh for quicker use. Use curl to download the link that you copied from the Anaconda website. This is a good directory to download ephemeral items, like the Anaconda bash script, which you won’t need after running it. It seems that R is picking up the libxml2 installation from Anaconda. Next, change to the /tmp directory on your server. Trying to install the XML package as follows I get the error configure: error: "libxml not found". ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |