问题描述
本周我在我的新工作计算机上重新安装了 R 和我最喜欢的软件包。我可以安装我需要的大部分内容,但我在使用 zoo
软件包时遇到了问题。
安装
install.packages("zoo")
最初对我不起作用。不幸的是,我不再有初始错误消息。原因是我设法像这样安装它:
install.packages("zoo",dependencies=TRUE,repos='http://cran.rstudio.com/')
正在加载包
这是我的错误:
> library("zoo")
Fehler: Paket ‘zoo’ ist für 'arch=x64' nicht installiert
This probably has to do with my machine's 64 bit architecture and the corresponding R installation.
[1]: http://zoo.r-forge.r-project.org/
详情:
如果我现在输入 install.packages("zoo")
,我得到:
Installing package into ‘C:/Users/Me/OneDrive - Company/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
versuche URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/zoo_1.8-8.zip'
Content type 'application/zip' length 1094522 bytes (1.0 MB)
downloaded 1.0 MB
package ‘zoo’ successfully unpacked and MD5 sums checked
Warning in install.packages :
cannot delete reparse point 'C:\Users\Me\OneDrive - Company\Documents\R\win-library\4.0/zoo/libs',reason 'There is a mismatch between the tag specified in the request and the tag present in the reparse point'
Warning in install.packages :
cannot remove prior installation of package ‘zoo’
Warning in install.packages :
cannot delete reparse point 'C:\Users\Me\OneDrive - Company\Documents\R\win-library\4.0/zoo/libs',reason 'There is a mismatch between the tag specified in the request and the tag present in the reparse point'
Warning in install.packages :
restored ‘zoo’
The downloaded binary packages are in
C:\Users\Me\AppData\Local\Temp\RtmpgPMQFU\downloaded_packages
以及会话信息:
> sessioninfo::session_info()
- Session info -----------------------------------------------------------------------------------
setting value
version R version 4.0.3 (2020-10-10)
os Windows 10 x64
system x86_64,mingw32
ui RStudio
language (EN)
collate German_Germany.1252
ctype German_Germany.1252
tz Europe/Berlin
date 2021-02-05
- Packages ---------------------------------------------------------------------------------------
package * version date lib source
assertthat 0.2.1 2019-03-21 [1] CRAN (R 4.0.3)
cli 2.3.0 2021-01-31 [1] CRAN (R 4.0.3)
digest 0.6.27 2020-10-24 [1] CRAN (R 4.0.3)
evaluate 0.14 2019-05-28 [1] CRAN (R 4.0.3)
glue 1.4.2 2020-08-27 [1] CRAN (R 4.0.3)
htmltools 0.5.1.1 2021-01-22 [1] CRAN (R 4.0.3)
knitr 1.31 2021-01-27 [1] CRAN (R 4.0.3)
rlang 0.4.10 2020-12-30 [1] CRAN (R 4.0.3)
rmarkdown 2.6 2020-12-14 [1] CRAN (R 4.0.3)
sessioninfo 1.1.1 2018-11-05 [1] CRAN (R 4.0.3)
tinytex 0.29 2021-01-21 [1] CRAN (R 4.0.3)
withr 2.4.1 2021-01-26 [1] CRAN (R 4.0.3)
xfun 0.20 2021-01-06 [1] CRAN (R 4.0.3)
yaml 2.2.1 2020-02-01 [1] CRAN (R 4.0.3)
[1] C:/Users/Me/OneDrive - Company/Documents/R/win-library/4.0
[2] C:/Program Files/R/R-4.0.3/library
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)