我想安装R XML包
> install.packages("XML")
Installing package into ‘C:/Users/Marc/Documents/R/win-library/3.2’
(as ‘lib’ is unspecified)
trying URL 'https://stat.ethz.ch/CRAN/bin/windows/contrib/3.2/XML_3.98 -1.3.zip'
Content type 'application/zip' length 4296516 bytes (4.1 MB)
downloaded 4.1 MB
package ‘XML’ successfully unpacked and MD5 sums checked
Warning: cannot remove prior installation of package ‘XML’
The downloaded binary packages are in
C:\Users\Marc\AppData\Local\Temp\RtmpGMYM8a\downloaded_packages
当我尝试打开它时,我得到一个错误但是...还有更多的人经历过这个吗?并解决这个问题?或者另一种XML包?
库(XML) 库中的错误(XML):没有名为“XML”的包
答案 0 :(得分:0)
1)在尝试安装软件包之前,您的R会话中是否有一些以前版本的XML软件包处于活动状态?另外,你有最新的R版本吗?
2)您是否尝试过手动复制" XML"目录(文件夹) 来自:C:\ Users \ Marc \ AppData \ Local \ Temp \ RtmpGMYM8a \ downloaded_packages to:C:/Users/Marc/Documents/R/win-library/3.2 /存储所有R包/