本文介绍了错误:isTRUE(gpclibPermitStatus())不是TRUE的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
此问题可能是以前的版本的重复未回答的人.我仍然有问题.
This question may be a duplicate of an earlier unanswered one. I still have the problem.
我正在尝试使用邮政编码shapefile并出现以下错误:
I am trying to use a zipcode shapefile and coming up with the following error:
tract <- readOGR(dsn = ".", layer = "cb_2013_us_zcta510_500k")
tract<-fortify(tract, region="GEOID10")
Error: isTRUE(gpclibPermitStatus()) is not TRUE
我尝试安装gpclib来解决此问题,但随后出现以下错误:
I have tried installing gpclib to fix this but then I get the following error:
install.packages("gpclib")
Installing package into ‘C:/Users/Nick/Documents/R/win-library/3.2’
(as ‘lib’ is unspecified)
Package which is only available in source form, and may need compilation of C/C++/Fortran: ‘gpclib’
These will not be installed
帮助?
推荐答案
我在其他地方学到了这个答案:我必须输入
I learned this answer elsewhere: I had to type
install.packages("gpclib", type="source")
,效果很好.
这篇关于错误:isTRUE(gpclibPermitStatus())不是TRUE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!