Since then, R sometimes never terminates when executing certain commands:
ivreg (from package
summary (of a logit regression) and
logitmfx (from package
mfx). Sometimes these commands run fine, but most of the time I have to kill the process (
killall rstudio) because R won't terminate the execution, even when pressing the red Stop button in RStudio.
When I tried
example('AER'), it worked fine. Then I re-installed the package
AER. It threw 10 warnings of type
In readLines(file, skipNul = TRUE) : cannot open compressed file '/usr/lib/R/site-library/[package]/DESCRIPTION', probable reason 'No such file or directory' where
dichromat... (but not
example('AER') throws a warning:
no help found for ‘AER’.
I've removed and reinstalled R 4.0: it didn't help. Besides, the
apt purge r-base* r-recommended r-cran-* threw a warning:
dpkg: warning: while removing r-base-core, directory '/usr/lib/R/site-library' not empty so not removed. Also, there was a bunch of
Package [package] is not installed, so not removed, including for
[package] equal to
r-cran-abind and the other listed above (this
purge also returned a bunch of
Note, selecting [package] for glob 'r-cran-*').