Hye there,

Do you getting error while loading “plotly” package on your environment (Rstudio) due to “rlang”? here i am posting a solution.

Error type-

 library(plotly)
Error: package or namespace load failed for ‘plotly’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
 namespace ‘rlang’ 0.4.5 is already loaded, but >= 0.4.6 is required

Just remove the previous version of the “rlang” package from your computer and install the new one as-

> remove.packages("rlang")
>install.packages("rlang")

Issue resolved! 🙂