jiangbeilu 发表于 2015-10-31 21:31 
错误提示你应该是没有安装sp包,安装好了,应该可以用,你试一下。
谢谢你~
可是我安装完之后还是有问题...
> install.packages("sp")
Installing package into ‘C:/Users/user/Documents/R/win-library/3.1’
(as ‘lib’ is unspecified)
--- Please select a CRAN mirror for use in this session ---
trying URL 'http://mirror.bjtu.edu.cn/cran/bin/windows/contrib/3.1/sp_1.2-1.zip'
Content type 'application/zip' length 1576492 bytes (1.5 MB)
opened URL
downloaded 1.5 MB
package ‘sp’ successfully unpacked and MD5 sums checked
Warning: unable to move temporary installation ‘C:\Users\user\Documents\R\win-library\3.1\file35d46b0855df\sp’ to ‘C:\Users\user\Documents\R\win-library\3.1\sp’
The downloaded binary packages are in
C:\Users\user\AppData\Local\Temp\Rtmpy4lcbC\downloaded_packages
> library(sp)
Error in library(sp) : there is no package called ‘sp’
请问应该怎么处理呢?.谢谢~