Unable to load libraries (get loadlibrary error)

I recently updated R and Rstudio and since then have not been able to load any libraries, including ggplot2, tidyverse. The error I get is this:
package or namespace load failed for ‘tidyverse’ in inDL(x, as.logical(local), as.logical(now), ...):
unable to load shared object 'C:/Program Files/R/R-4.2.2/library/stats/libs/x64/stats.dll':
LoadLibrary failure: The specified module could not be found.

I tried reading through several messages on google regarding the same error but failed to understand the solution. Please help. Thanks.

This topic was automatically closed 21 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.