首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >使用USABoundaries

使用USABoundaries
EN

Stack Overflow用户
提问于 2020-06-18 04:57:37
回答 1查看 349关注 0票数 3

我正在尝试使用USABoundaries包来绘制地图,但在下载UsaBoundariesData时遇到了问题。当我输入下面这样的内容时

代码语言:javascript
复制
library(USAboundaries)

OH_cong <- us_congressional(states = "OH", resolution = "high")

我收到这个错误消息:

代码语言:javascript
复制
The USAboundariesData package needs to be installed.
Install the USAboundariesData package? 

1: Yes
2: No

Selection: Yes
Installing the USAboundariesData package.
Installing package into ‘/home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0’
(as ‘lib’ is unspecified)
Error in value[[3L]](cond) : 
  Failed to install the USAboundariesData package.
  Please try installing the package for yourself using the following command: 
     install.packages("USAboundariesData", repos = "http://packages.ropensci.org", type = "source")
> install.packages("USAboundariesData", repos = "http://packages.ropensci.org", type = "source")
Installing package into ‘/home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0’
(as ‘lib’ is unspecified)
Error in install.packages : error reading from connection

如果任何人有任何有用的信息,将不胜感激!

EN

回答 1

Stack Overflow用户

发布于 2020-10-20 22:44:03

试着这样做:

代码语言:javascript
复制
devtools::install_github("ropensci/USAboundariesData")
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/62438256

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档