A few months ago I created a shiny app using plotly. My laptop at the time crashed, and I have had to download R and RStudio on a new computer. I am having issues running the plotly library on the new computer, which isn't allowing the shiny app to run at all.
library(plotly)
Loading required package: ggplot2 Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) : there is no package called 'colorspace' Error: package 'ggplot2' could not be loaded
I have searched other topics related to ggplot2
errors like this, and none of the help from them has worked.
Installing colorspace and restarting R seemed to have fixed this problem, but now my formerly working shiny app is glitchy. That seems like a topic for a different question though.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.