[prev in list] [next in list] [prev in thread] [next in thread] 

List:       r-sig-mac
Subject:    Re: [R-SIG-Mac] error when installing the robustbase package (robustbase.rdb is corrupt)
From:       Kevin Ushey <kevinushey () gmail ! com>
Date:       2024-03-26 0:11:04
Message-ID: CAJXgQP12_QwcUwX7f7407bVJkWgQiya=p-AO=SSgWZLi0ADROg () mail ! gmail ! com
[Download RAW message or body]

Issues of this sort typically occur if a package is updated or
reinstalled while it is already loaded. See also:
https://bugs.r-project.org/show_bug.cgi?id=16644

The simplest resolution is to restart R after installing a package.

Best,
Kevin

On Mon, Mar 25, 2024 at 3:57 PM Simon Urbanek
<simon.urbanek@r-project.org> wrote:
> 
> Y V,
> 
> as Duncan pointed out this is usually a problem with the RStudio session. Quit \
> RStudio, re-install the package (if in doubt, use R), quit R and re-start RStudio. 
> Cheers,
> Simon
> 
> 
> > On 25/03/2024, at 10:54 AM, YV B <omykcs@gmail.com> wrote:
> > 
> > I'm running R 4.3.3 GUI 1.80 Big Sur Intel build (8340) and RStudio Version
> > 2023.12.1+402 on macOS Sonoma Version 14.4 (23E214) Intel Core i7.
> > 
> > I downloaded the package of robustbase
> > - macosx/big-sur-x86_64/contrib/4.3/robustbase_0.99-2.tgz .
> > , and tried to install it.
> > 
> > After installing it through Tools/Install Packages,
> > it shows up in the Packages tab.
> > 
> > Clicking on the checkbox results in
> > ```
> > > install.packages("path/to/robustbase_0.99-2.tgz", repos = NULL, type =
> > .Platform$pkgType)
> > > library(robustbase)
> > Error: package or namespace load failed for ‘robustbase' in get(Info[i, 1],
> > envir = env):
> > lazy-load database
> > '/Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/robustbase/R/robustbase.rdb'
> >  is corrupt
> > In addition: Warning message:
> > In get(Info[i, 1], envir = env) : internal error -3 in R_decompress1
> > ```
> > 
> > I've reported this to r-project tracker. They cannot help me because this
> > is not due to a problem of the source. Could you help me solving this
> > problem?
> > 
> > Thank you.
> > 
> > Y V
> > 
> > [[alternative HTML version deleted]]
> > 
> > _______________________________________________
> > R-SIG-Mac mailing list
> > R-SIG-Mac@r-project.org
> > https://stat.ethz.ch/mailman/listinfo/r-sig-mac
> > 
> 
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac

_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic