> install.packages("lmtest")
There is a binary version available but the source version is later:
binary source needs_compilation
lmtest 0.9-36 0.9-37 TRUE
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.5/lmtest_0.9-36.zip'
Content type 'application/zip' length 359549 bytes (351 KB)
downloaded 351 KB
package ‘lmtest’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Temp\RtmpAlOPev\downloaded_packages
> library(lmtest)
Error: package or namespace load failed for ‘lmtest’ in get(Info[i, 1], envir = env):
lazy-load database 'F:/R-3.5.1/library/lmtest/R/lmtest.rdb' is corrupt
In addition: Warning messages:
1: 程辑包‘lmtest’是用R版本3.5.3 来建造的
2: In get(Info[i, 1], envir = env) : internal error -3 in R_decompress1
请问这是什么原因?我查了一些资料,但还是没有明白到底是什么地方出问题,还望前辈们解答。谢谢!