在R中加载包RcmrdMisc和tidyverse时出错
在R环境中加载某些包时遇到问题。 对于包在R中加载包RcmrdMisc和tidyverse时出错,r,package,tidyverse,R,Package,Tidyverse,在R环境中加载某些包时遇到问题。 对于包RcmdrMisc Loading required package: car Loading required package: carData Loading required package: sandwich Error: package or namespace load failed for ‘RcmdrMisc’: .onLoad failed in loadNamespace() for 'checkmate', details: c
RcmdrMisc
Loading required package: car
Loading required package: carData
Loading required package: sandwich
Error: package or namespace load failed for ‘RcmdrMisc’:
.onLoad failed in loadNamespace() for 'checkmate', details:
call: NULL
error: package ‘backports’ does not have a namespace
另外,我在packagetidyverse
Error: package or namespace load failed for ‘tidyverse’:
.onLoad failed in loadNamespace() for 'broom', details:
call: NULL
error: package ‘backports’ does not have a namespace
我已尝试卸载软件包并重新安装。但错误依然存在
我已经为相应的软件包安装了依赖项。
我已经下载了R
和RStudio
的最新可用更新,但没有任何效果。
我做错了什么?此问题是否有任何解决方案?能否运行
库(后台端口)
?如果可以,运行sessionInfo()
时会显示哪个版本?你在用什么操作系统?你运行的是什么版本的R?您正在运行什么来安装这些软件包?我已尝试库(后台端口)
库(后台端口)中的错误:“后台端口”不是有效的已安装软件包
。我使用的是windows 10,R版本为4.0.2。我正在使用install.packages(,dependencies=TRUE)
安装软件包。另外,这些软件包突然停止工作了。他们下午工作,晚上停下来。这已经发生了两次。以前的卸载和重新安装工作正常,但这次没有。您是否安装了RTools?那么当您运行install.packages(“backport”)
时会发生什么呢?是的,安装了RTools
(版本4.0)。Backport可以通过上述方法安装,但在此之后,library(backport)
返回消息“这不是有效的安装”。