Entering edit mode
5.3 years ago
demoraesdiogo2017
▴
90
Hello Recently I have been trying to use the survival package, which worked for a while, until I started to get the error
Error: package or namespace load failed for ‘survival’ in .updateMethodsInTable(fdef, where, attach):
lazy-load database 'C:/PROGRA~1/R/R-3.4.0/library/methods/R/methods.rdb' is corrupt
for every single library I try to load. for some reason it also accuses any csv or excel file I load in RStudio of being corrupt as well (it opens normally on excel)
Any idea on how to fix it?
Added
R
tag to your post.It's complaining about the methods package, which is a base package, so, it's unusual that it's corrupt.
What happens when you just run
require(methods)
in a new session? Have you moved files around recently or re-istalled anything?