I'm getting below error while installing a package. can anyone please help me how to fix this problem?
Error: package or namespace load failed for 'ggplot2' in library.dynam(lib, package, package.lib):
DLL 'colorspace' not found: maybe not installed for this architecture?
Hi,
I tried to install the above package but I'm getting the below error:
Error: package or namespace load failed for 'ggplot2' in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
there is no package called 'colorspace
As I said, this is asking you to to install the colorspace package. If you have already tried to install it and you keep getting the same error message while trying to load ggplot2 then something has gone wrong.
Run this command in your R console and post the complete console output you get.