In downloading the packages lazy load database error .rdb file is corrupt how to resolve

Error Information:

Description of issue -

Steps taken so far -

System Information:

  • RStudio Edition: (Desktop or Server)
  • RStudio Version:
  • OS Version:
  • R Version:

Also:

  • RStudio diagnostics report:
  • Your sessionInfo():
  • RStudio crash report:
  • RStudio application log files:

From Troubleshooting Guide: Using RStudio

Please provide more information. What package are you installing. What is your operating system? What is your r version? And what is the full text of the error message?

library(ggplot2)
Error: package or namespace load failed for ‘ggplot2’ in get(Info[i, 1], envir = env):
** lazy-load database 'C:/Users/Dell/Documents/R/win-library/4.0/glue/R/glue.rdb' is corrupt**
In addition: Warning message:
In get(Info[i, 1], envir = env) : internal error -3 in R_decompress1
using R-4.0.2-win
RStudio-1.3.1093
in downloading any package lazy load database error comes

Try

install.packages("glue")

I tried
glue package is installed successfully
install.packages("glue")
Installing package into ‘C:/Users/Dell/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/glue_1.4.2.zip'
Content type 'application/zip' length 155557 bytes (151 KB)
downloaded 151 KB

package ‘glue’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
C:\Users\Dell\AppData\Local\Temp\RtmpGW9KGE\downloaded_packages

library("glue")
Error: package or namespace load failed for ‘glue’ in get(Info[i, 1], envir = env):
lazy-load database 'C:/Users/Dell/Documents/R/win-library/4.0/glue/R/glue.rdb' is corrupt
In addition: Warning message:
In get(Info[i, 1], envir = env) : internal error -3 in R_decompress1

Ok. Now restart R with Ctrl Shift F10 and try the library again

1 Like

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.