R语言中安装 maptools 包
001、R语言中安装maptools出现如下问题:
> install.packages("maptools") 将程序包安装入‘C:/Users/liujiaxin/AppData/Local/R/win-library/4.3’ (因为‘lib’没有被指定) Warning in install.packages : package ‘maptools’ is not available for this version of R A version of this package for your version of R might be available elsewhere, see the ideas at https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages

002、进入该地址:https://cran.r-project.org/src/contrib/Archive/
a、

b、最新版本

c、

d、

e、

003、 测试:
library("maptools")

。

浙公网安备 33010602011771号