gpt4 book ai didi

xml - R XML 包不加载

转载 作者:行者123 更新时间:2023-12-04 19:38:30 25 4
gpt4 key购买 nike

我要安装 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 包?

library(XML) Error in library(XML) : there is no package called ‘XML’

最佳答案

1) 在尝试安装包之前,是否在您的 R session 中激活了某个先前版本的 XML 包?另外,你有最新的 R 版本吗?

2) 你试过手动复制“XML”目录(文件夹)吗来自:C:\Users\Marc\AppData\Local\Temp\RtmpGMYM8a\downloaded_pa​​ckages至:C:/Users/Marc/Documents/R/win-library/3.2/所有 R 包的存储位置/

关于xml - R XML 包不加载,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33672637/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com