Re: [R] Lazy-load corrupt?
This often indicates you need to restart R. Hadley On Friday, February 3, 2023, Nick Wray wrote: > Hello When trying to call various packages eg > library(raster) > library(sp) > library(rgdal) > > I get this error message: > Loading required package: sp > Error: package or namespace load failed for ‘sp’ in get0(name, envir = > where, mode = "function", inherits = FALSE): > lazy-load database 'C:/PROGRA~1/R/R-42~1.1/library/base/R/base.rdb' is > corrupt > Error: package ‘sp’ could not be loaded > In addition: Warning messages: > 1: package ‘raster’ was built under R version 4.2.2 > 2: package ‘sp’ was built under R version 4.2.2 > 3: In get0(name, envir = where, mode = "function", inherits = FALSE) : > restarting interrupted promise evaluation > 4: In get0(name, envir = where, mode = "function", inherits = FALSE) : > internal error -3 in R_decompress1 > > > Other packages load fine (and the packages above load OK on my spare > laptop) but I'm imagining that this means that I have to uninstall my > current R and reinstall the latest version - but before I go through all > that can anyone confirm that that is indeed what I need to do or is there > some other problem? > > Thanks Nick Wray > > [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/ > posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- http://hadley.nz [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] Lazy-load corrupt?
Sorry -- I am too ignorant to answer your query. But, just curious: Is there a good reason why you would *not* want to install the latest version of R and your packages? Cheers, Bert On Fri, Feb 3, 2023 at 2:02 PM Nick Wray wrote: > Hello When trying to call various packages eg > library(raster) > library(sp) > library(rgdal) > > I get this error message: > Loading required package: sp > Error: package or namespace load failed for ‘sp’ in get0(name, envir = > where, mode = "function", inherits = FALSE): > lazy-load database 'C:/PROGRA~1/R/R-42~1.1/library/base/R/base.rdb' is > corrupt > Error: package ‘sp’ could not be loaded > In addition: Warning messages: > 1: package ‘raster’ was built under R version 4.2.2 > 2: package ‘sp’ was built under R version 4.2.2 > 3: In get0(name, envir = where, mode = "function", inherits = FALSE) : > restarting interrupted promise evaluation > 4: In get0(name, envir = where, mode = "function", inherits = FALSE) : > internal error -3 in R_decompress1 > > > Other packages load fine (and the packages above load OK on my spare > laptop) but I'm imagining that this means that I have to uninstall my > current R and reinstall the latest version - but before I go through all > that can anyone confirm that that is indeed what I need to do or is there > some other problem? > > Thanks Nick Wray > > [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
[R] Lazy-load corrupt?
Hello When trying to call various packages eg library(raster) library(sp) library(rgdal) I get this error message: Loading required package: sp Error: package or namespace load failed for ‘sp’ in get0(name, envir = where, mode = "function", inherits = FALSE): lazy-load database 'C:/PROGRA~1/R/R-42~1.1/library/base/R/base.rdb' is corrupt Error: package ‘sp’ could not be loaded In addition: Warning messages: 1: package ‘raster’ was built under R version 4.2.2 2: package ‘sp’ was built under R version 4.2.2 3: In get0(name, envir = where, mode = "function", inherits = FALSE) : restarting interrupted promise evaluation 4: In get0(name, envir = where, mode = "function", inherits = FALSE) : internal error -3 in R_decompress1 Other packages load fine (and the packages above load OK on my spare laptop) but I'm imagining that this means that I have to uninstall my current R and reinstall the latest version - but before I go through all that can anyone confirm that that is indeed what I need to do or is there some other problem? Thanks Nick Wray [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.