plotly package will not install

How can I install the plotly package?

Loading required package: ggplot2
Error: package or namespace load failed for ‘ggplot2’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
there is no package called ‘colorspace’
Error: package ‘ggplot2’ could not be loaded

Try installing the missing dependency

install.packages("colorspace")
1 Like

Yay! It worked. Now I understand whose responsibility it is to install a dependency. Thanks.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.