Whig 发表于 2019-7-24 09:38 
在stackoverflow上一搜就有了,如图
谢谢!这个问题解决了,但是下面那个包我还是装不上,提示下面的东西
library(gEcon)
Loading required package: MASS
Loading required package: Matrix
Loading required package: nleqslv
Loading required package: Rcpp
Error: package or namespace load failed for ‘gEcon’:
package ‘gEcon’ was installed by an R version with different internals; it needs to be reinstalled for use with this R version