首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法将easyPrint加载到Rstudio中

无法将easyPrint加载到Rstudio中
EN

Stack Overflow用户
提问于 2019-04-05 03:04:54
回答 1查看 84关注 0票数 1

我对R和Leaflet非常陌生,所以这可能是一个很容易解决的问题。我能够创建功能齐全的地图,但人们要求他们也能够打印地图,而不必使用打印屏幕。似乎easyPrint将是最好的解决方案,但我无法将其加载到Rstudio中。

我尝试过以多种方式加载它,但在加载过程中遇到了不同的错误

代码语言:javascript
复制
install.packages("easyPrint")
Warning in install.packages :
package ‘easyPrint’ is not available (for R version 3.5.2)

(For this I saved it in my documents like it appeared to want me to)
install("leaflet-easyPrint-gh-pages")
Error: Could not find package root.

install_git("https://github.com/rowanwins/leaflet-easyPrint")
install_git("https://github.com/rowanwins/leaflet-easyPrint")
Downloading git repo https://github.com/rowanwins/leaflet-easyPrint
Error: Does not appear to be an R package (no DESCRIPTION)

devtools::install_github("rowanwins/leaflet-easyPrint")
Error: HTTP error 404.
No commit found for the ref master

Rate limit remaining: 59/60
Rate limit reset at: 2019-04-04 19:57:05 UTC

谢谢你的帮助!

EN

回答 1

Stack Overflow用户

发布于 2019-05-03 16:17:22

看看这个包,确实没有“主控”:分支被称为"v2“、"gh-pages”、……

你可以试试: devtools::install_github("rowanwins/leaflet-easyPrint",ref="v2")

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/55523270

复制
相关文章

相似问题

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