3

I seem to be getting a continuous error message every time I try to use the console in RStudio.

And this is the error I get:

  lazy-load database 'C:/Users/Siddhardh/Documents/R/win-library/3.6/StatsBombR/help/StatsBombR.rdb' is corrupt

I'm new to R and RStudio.

Siddarth Krishna S
  • 111
  • 1
  • 2
  • 10
  • 1
    Restart R. If that doesn't work, quit RStudio and open it again. This happens sometimes when you update packages mid-session and some component of them, such as documentation, gets rebuilt but I guess not reloaded properly. – camille Nov 22 '19 at 19:55

1 Answers1

5

The error arises when the package cannot be decompressed by R correctly.

Below can be possible solutions:

  1. Try restarting your R session (e.g. .rs.restartR() if in RStudio); (Quit and restart a clean R session from within R?)

  2. Check for possible errors in the creation of the .Rdb files which are giving you the errors.

  3. The package might have been installed in your computer, even though its does not work or is corrupt, try removing (?remove.packages()) it and reinstalling it.

Wai Ha Lee
  • 8,598
  • 83
  • 57
  • 92
ashwin agrawal
  • 1,603
  • 8
  • 16