Error when loading ggplot2

Hi all,
New to R here. I installed ggplot2 on Rstudio but am having problems loading the library. I tried resolving the issue myself but surfing the web but am still stuck with this issue.

Here is the error message:

Loading required package: ggplot2
Error: package or namespace load failed for ‘ggplot2’ in inDL(x, as.logical(local), as.logical(now), ...):
unable to load shared object 'C:/Program Files/R/R-4.0.0/library/stats/libs/x64/stats.dll':
LoadLibrary failure: The specified module could not be found.

This is the same issue as in here I think

and it has been solved. I let you read this.

If your question's been answered (even by you!), would you mind choosing a solution? It helps other people see which questions still need help, or find solutions if they have similar problems. Here’s how to do it:

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

Okay resolved! Thanks!

1 Like