Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 201867

Error when updating/installing 'XML' package on R

$
0
0

I am unable to update XML package on my R from version 3.98-1.20 to 3.99-0.1, or to install it from scratch after removing. This is what I receive in RStudio console when installing XML from scratch:

> install.packages("XML")
Installing package into ‘C:/Users/rstundz/Desktop/My Software/R/win-library’
(as ‘lib’ is unspecified)

  There is a binary version available but the source version is later:
       binary   source needs_compilation
XML 3.98-1.20 3.99-0.1              TRUE

installing the source package ‘XML’

trying URL 'https://cran.rstudio.com/src/contrib/XML_3.99-0.1.tar.gz'
Content type 'application/x-gzip' length 968578 bytes (945 KB)
downloaded 945 KB

* installing *source* package 'XML' ...
** package 'XML' successfully unpacked and MD5 sums checked
** using staged installation
sed: can't read NAMESPACE.in: No such file or directory
ERROR: configuration failed for package 'XML'
* removing 'C:/Users/rstundz/Desktop/My Software/R/win-library/XML'
Warning in install.packages :
  installation of package ‘XML’ had non-zero exit status

The downloaded source packages are in
    ‘C:\Users\rstundz\AppData\Local\Temp\RtmpaI9Z0t\downloaded_packages’

I am using R version 3.6.2. Thanks in advance for any help!


Viewing all articles
Browse latest Browse all 201867

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>