[英]r programming - error in loadnamespace - package or namespace load failed
This might be a very basic question but I am not getting anything about this. 这可能是一个非常基本的问题,但是我对此一无所获。 I searched many approaches after googling and none of them worked for me.
谷歌搜索后,我搜索了许多方法,但没有一个对我有用。
The issue is that whenever I tried to load any default package like swirl or download any package and then source that to R, I am getting the error below. 问题是,每当我尝试加载任何默认软件包(例如,swir)或下载任何软件包,然后将其来源到R时,都会收到以下错误消息。
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
there is no package called ‘stringi’
Show Traceback
Rerun with Debug
Error: package or namespace load failed for ‘stringr’
Could someone please help me on this? 有人可以帮我吗?
Install the "stringi" package first. 首先安装“ stringi”软件包。
I had the same issue. 我遇到过同样的问题。 Actually, there were two different packages mentioned in the error message: "stringi" and "stringr" packages.
实际上,错误消息中提到了两个不同的程序包:“ stringi”和“ stringr”程序包。 I misread the last letter and thought I had already installed the package.
我误读了最后一封信,以为我已经安装了该软件包。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.