unable to load packages in R after successfully install packages

I got this error message
library(dplyr)
Error: package or namespace load failed for ‘dplyr’ in inDL(x, as.logical(local), as.logical(now), ...):
unable to load shared object 'C:/Users/Frank/Desktop/Business/R/R-4.3.1/library/stats/libs/x64/stats.dll':
LoadLibrary failure: The network path was not found.

stats is a base R package, so you seem to have a broken R installation.

If you can install R into the usual installation location in C:/Program Files/R, that would be a good thing to do I think.

i have done that, still getting the error messase "During startup - Warning message:
package ‘stats’ in options("defaultPackages") was not found
Error in inDL(x, as.logical(local), as.logical(now), ...) :
unable to load shared object 'C:/Program Files/R/R-4.3.1/library/stats/libs/x64/stats.dll':
LoadLibrary failure: The network path was not found.
"

Do you get this from RStudio? Or from a terminal? Or both?

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