First post, excuse me if it might prove unclear.
So, been through some posts trying to see whether this had a solution or not, and I couldn't find anything useful.
Error Information:
can't load ggplot2, markdown, and others... also can't update some others like haven or mnormt - well, that sums it up
Steps taken so far
< library("ggplot2")
Error: package or namespace load failed for ‘ggplot2’ in get(Info[i, 1], envir = env):
lazy-load database 'C:/Users/me/Documents/R/win-library/4.0/rlang/R/rlang.rdb' is corrupt
Además: Warning message:
In get(Info[i, 1], envir = env) : internal error -3 in R_decompress1
< update.packages()
Warning: package 'boot' in library 'C:/Program Files/R/R-4.0.0beta/library' will not be updated
Warning: package 'class' in library 'C:/Program Files/R/R-4.0.0beta/library' will not be updated
Warning: package 'foreign' in library 'C:/Program Files/R/R-4.0.0beta/library' will not be updated
Warning: package 'KernSmooth' in library 'C:/Program Files/R/R-4.0.0beta/library' will not be updated
Warning: package 'MASS' in library 'C:/Program Files/R/R-4.0.0beta/library' will not be updated
Warning: package 'nlme' in library 'C:/Program Files/R/R-4.0.0beta/library' will not be updated
Warning: package 'nnet' in library 'C:/Program Files/R/R-4.0.0beta/library' will not be updated
Warning: package 'spatial' in library 'C:/Program Files/R/R-4.0.0beta/library' will not be updated
haven :
Version 2.3.0 installed in C:/Users/me/Documents/R/win-library/4.0
Version 2.3.1 available at
mnormt :
Version 1.5-7 installed in C:/Users/me/Documents/R/win-library/4.0
Version 2.0.0 available at
rmarkdown :
Version 2.1 installed in C:/Users/me/Documents/R/win-library/4.0
Version 2.2 available at
There are binary versions available but the source versions are later:
binary source needs_compilation
haven 2.3.0 2.3.1 TRUE
mnormt 1.5-7 2.0.0 TRUE
rmarkdown 2.1 2.2 FALSE
Binaries will be installed
probando la URL '
Content type 'application/zip' length 1249552 bytes (1.2 MB)
downloaded 1.2 MB
probando la URL ''
Content type 'application/zip' length 120471 bytes (117 KB)
downloaded 117 KB
package ‘haven’ successfully unpacked and MD5 sums checked
package ‘mnormt’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\me\AppData\Local\Temp\Rtmpe4zNMc\downloaded_packages
installing the source package ‘rmarkdown’
probando la URL 'z'
Content type 'application/x-gzip' length 3192895 bytes (3.0 MB)
downloaded 3.0 MB
- installing source package 'rmarkdown' ...
** package 'rmarkdown' successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Warning in get(Info[i, 1], envir = env) :
internal error -3 in R_decompress1
Error in get(Info[i, 1], envir = env) :
lazy-load database 'C:/Users/me/Documents/R/win-library/4.0/rlang/R/rlang.rdb' is corrupt
Calls: ... namespaceImport -> loadNamespace -> registerS3methods -> get
Ejecución interrumpida
ERROR: lazy loading failed for package 'rmarkdown' - removing 'C:/Users/me/Documents/R/win-library/4.0/rmarkdown'
- restoring previous 'C:/Users/me/Documents/R/win-library/4.0/rmarkdown'
The downloaded source packages are in
‘C:\Users\me\AppData\Local\Temp\Rtmpe4zNMc\downloaded_packages’
Warning message:
In install.packages(update[instlib == l, "Package"], l, repos = repos, :
installation of package ‘rmarkdown’ had non-zero exit status
System Information:
- R v4.0.0
- RStudio v1.2.5033
- Win 10 Home, OS v18363.836
- and lots of packages
Also:
tried restarting session, and started with admin rights afterwards.. no luck either
tried updating rlang and no luck
tried updating rcpp and I'd bet you know the outcome
is it necessary to reinstall R?
Thanks in advance