简体   繁体   English

r编程-loadnamespace中的错误-包或名称空间加载失败

[英]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.

相关问题 错误:loadNamespace 中“tidyverse”的包或命名空间加载失败 - Error: package or namespace load failed for ‘tidyverse’ in loadNamespace R package 错误:package 或加载命名空间中“reshape2”的命名空间加载失败:没有名为“magrittr”的 package - R package Error: package or namespace load failed for ‘reshape2’ in loadNamespace: there is no package called ‘magrittr’ 错误:“ geoR”的程序包或名称空间加载失败:.tcltk的loadNamespace()在.onLoad中失败 - Error: package or namespace load failed for ‘geoR’: .onLoad failed in loadNamespace() for 'tcltk' > library(ez)错误:loadNamespace中'ez'的包或命名空间加载失败 - > library(ez) Error: package or namespace load failed for ‘ez’ in loadNamespace 错误:package 或 loadNamespace 中“EGSEA”的命名空间加载失败(i,c(lib.loc,.libPaths()),versionCheck = vI[[i]]): - Error: package or namespace load failed for ‘EGSEA’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]): Jupyter 笔记本:Package 或 loadNamespace 中“插入符号”的命名空间加载失败 - Jupyter notebook: Package or namespace load failed for 'caret' in loadNamespace 对于Copula包,R中的loadNamespace出错 - Error in loadNamespace in R for Copula package 从 GitHub 加载 R package 时出现“包或命名空间加载失败”错误 - "package or namespace load failed" error in loading R package from GitHub 错误:程序包或命名空间加载失败 - Error: Package or namespace load failed PowerBI Desktop 和 R 错误:“ggplot2”的包或命名空间加载失败 - PowerBI Desktop and R Error: package or namespace load failed for 'ggplot2'
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM