unable to load stats package of r in rstudio

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.3/library/stats/libs/x64/stats.dll':
LoadLibrary failure: The network path was not found.
Warning: namespace ‘stats’ is not available and has been replaced
by .GlobalEnv when processing object ‘model_logistic’
[Workspace loaded from ~/.RData]

can anyone please explain what I should do?

I am having same problem. can someone kindly help? what should I do?

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.3/library/stats/libs/x64/stats.dll':
LoadLibrary failure: The network path was not found.
Warning: namespace ‘stats’ is not available and has been replaced
by .GlobalEnv when processing object ‘model_logistic’
[Workspace loaded from ~/.RData]

I'd suggest a re-install of R. {stats} is part ofbase R and should install automatically.

However will R load from a terminal or GUI rather than RStudio?

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