Error Load Libraries

Ciao,
these days I've many problem with loading packagin on Rstudio. It's as R does not find the correct folder.

The error is this:

library(e1071)
Error: package or namespace load failed for ‘e1071’:
package ‘e1071’ was installed by an R version with different internals; it needs to be reinstalled for use with this R version

library(ggplot2)
Error: package or namespace load failed for ‘ggplot2’ in FUN(X[[i]], ...):
no such symbol env in package C:/Program Files/R/R-3.6.1/library/lazyeval/libs/x64/lazyeval.dll
library(dplyr)
Error: package or namespace load failed for ‘dplyr’:
package ‘purrr’ was installed by an R version with different internals; it needs to be reinstalled for use with this R version

2 kinds of errors and I don't try the solution?
Anyone can help me?

marco

Hi,

Did you install a new R version? If so, the packages from the old version do not get transferred automatically.

Just install the packages again where you get the error, and it should fix it. In case you like some tool to help you with transferring all packages, I suggest you look into the installr paccage

Hope this helps,
PJ

1 Like

After updating R you have you updated your packages with checkBuilt

update.packages(checkBuilt = TRUE)

Ciao!
i've resolved with this solution:

image

Now it is running, tomorrow i dont know :slight_smile:

Thanksss

marco

Thankssss
your link is more useful than my answer!!

I've resolved with your solution,
thanks andres

M

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