简体   繁体   English

错误:'arulesViz'的包或名称空间加载失败:对象'cividis'不会被'namespace:viridisLite'导出

[英]Error: package or namespace load failed for ‘arulesViz’: object ‘cividis’ is not exported by 'namespace:viridisLite'

In R 3.4.3 (Windows 10) while loading the packages arulesViz: 在R 3.4.3(Windows 10)中加载包arulesViz时:

Error: package or namespace load failed for 'arulesViz': object 'cividis' is not exported by 'namespace:viridisLite' 错误:'arulesViz'的包或名称空间加载失败:对象'cividis'不会被'namespace:viridisLite'导出

I tried to uninstall and install, but did not help. 我试图卸载并安装,但没有帮助。 What is wrong and how can i correct it? 有什么不对,怎么纠正呢?

Basically you need to install the dependencies of arulesViz. 基本上你需要安装arulesViz的依赖项。 I tried with Scatterplot3d , viznetwork, vcd, virdislite. 我试过Scatterplot3d,viznetwork,vcd,virdislite。

I also faced similar problem. 我也遇到过类似的问题。 This problem can be resolved by installing package "viridisLite" along with "arulesViz" for me it worked no need to reinstallthe R or Rstudio 这个问题可以通过安装包“viridisLite”和“arulesViz”来解决,因为它无需重新安装R或Rstudio

It get solved , after reinstall RStudio + removed old version of R. Disadvantage is all libraries will also get removed. 它得到解决,重新安装RStudio +删除旧版本的R.缺点是所有库也将被删除。 So you have to load again. 所以你必须再次加载。

I had the same issue with the seriation package. 我对系列包有同样的问题。 Ultimately I found that I just had to uninstall and reinstall r and r studio. 最终我发现我只需卸载并重新安装r和r studio。 Then i ran update.packages() and I had no problems. 然后我运行update.packages(),我没有问题。

This is a pain, as there are several packages with dependencies for packages which in turn import viridisLite , and this error is very opaque for users... 这是一个痛苦,因为有几个包依赖包,反过来导入viridisLite ,这个错误对于用户来说是非常不透明的...

One thing I've found works (apart from manually install.packages("") each package mentioned in the error) is to switch repositories to the RStudio-maintained Cloud repo. 我发现的一件事(除了手动install.packages("")错误中提到的每个包)是将存储库切换到RStudio维护的Cloud repo。 (repo 0). (回购0)。

The problem seems to have hit people with a default repo that has incompatible versions of packages at the time people use it, and the cloud repo seems to avoid/not suffer from this problem. 这个问题似乎已经打击了人们使用默认仓库,并且人们使用它时包含不兼容版本的软件包,并且云仓库似乎避免/不会遇到此问题。

Hope this helps 希望这可以帮助

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 错误:package 或“tidyverse”的命名空间加载失败:object “relocate”未由“namespace:dplyr”导出 - Error: package or namespace load failed for ‘tidyverse’: object ‘relocate’ is not exported by 'namespace:dplyr' 错误:“gt”的包或命名空间加载失败:“命名空间:fastmap”未导出对象“faststack” - Error: package or namespace load failed for ‘gt’: object ‘faststack’ is not exported by 'namespace:fastmap' 错误:包或名称空间加载失败,找不到对象… - Error: package or namespace load failed, object … not found 错误:程序包或命名空间加载失败 - Error: Package or namespace load failed 加载 package ggh4x 时出错:错误:package 或名称空间加载失败 'ggh4x':object 'cli_abort'未导出 - loading the package ggh4x in error: Error: package or namespace load failed for ‘ggh4x’: object ‘cli_abort’ is not exported by 'namespace:cli' 如何修复R中的“错误:'名称空间:dplyr'未导出对象'as_tibble'错误:包'BLANK'的延迟加载失败” - How to fix “Error : object ‘as_tibble’ is not exported by 'namespace:dplyr' ERROR: lazy loading failed for package ‘BLANK’” in R 错误:“汽车”的包或命名空间加载失败 - Error: package or namespace load failed for ‘car’ 错误:“rJava”的包或命名空间加载失败 - Error: package or namespace load failed for ‘rJava’ 错误:“prophet”的包或命名空间加载失败 - Error: package or namespace load failed for ‘prophet’ 错误:loadNamespace 中“tidyverse”的包或命名空间加载失败 - Error: package or namespace load failed for ‘tidyverse’ in loadNamespace
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM