Prakhar Jain
Prakhar Jain

Reputation: 79

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:

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

I tried to uninstall and install, but did not help. What is wrong and how can i correct it?

Upvotes: 3

Views: 3068

Answers (5)

tim
tim

Reputation: 3608

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...

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. (repo 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

Upvotes: 0

Isaac
Isaac

Reputation: 215

I had the same issue with the seriation package. Ultimately I found that I just had to uninstall and reinstall r and r studio. Then i ran update.packages() and I had no problems.

Upvotes: 0

vijay prakash saini
vijay prakash saini

Reputation: 11

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

Upvotes: 1

Prakhar Jain
Prakhar Jain

Reputation: 79

Basically you need to install the dependencies of arulesViz. I tried with Scatterplot3d , viznetwork, vcd, virdislite.

Upvotes: 2

Prakhar Jain
Prakhar Jain

Reputation: 79

It get solved , after reinstall RStudio + removed old version of R. Disadvantage is all libraries will also get removed. So you have to load again.

Upvotes: 0

Related Questions