小编sup*_*cca的帖子

无法自动和手动从Github安装gganimate包

我目前正在尝试安装gganimate包,但似乎无法.我正在运行Win 10,Rx64 3.3.0和Rstudio 0.99.896; 以下命令:

devtools::install_github("dgrtwo/gganimate")
Run Code Online (Sandbox Code Playgroud)

将抛出此错误:

Downloading GitHub repo dgrtwo/gganimate@master
from URL https://api.github.com/repos/dgrtwo/gganimate/zipball/master
Error in curl::curl_fetch_memory(url, handle = handle) : 
  Problem with the SSL CA cert (path? access rights?)
Run Code Online (Sandbox Code Playgroud)

因此,经过几个小时的绝望,我决定尝试手动安装包.我按照这个链接: 这里

以下命令:

install.packages(pkgs = "C:/Users/Superzucca/Desktop/gganimate-master.zip", repos = NULL)
Run Code Online (Sandbox Code Playgroud)

结果是:

    Installing package into ‘C:/Users/Superzucca/Documents/R/win-library/3.3’ 
(as ‘lib’ is unspecified)
Run Code Online (Sandbox Code Playgroud)

但是当我打电话的时候:

library("gganimate-master") ####  -> as suggsted by R itself!! 
Run Code Online (Sandbox Code Playgroud)

抛出此错误:

Error in library("gganimate-master") : there is no package called ‘gganimate-master’
Run Code Online (Sandbox Code Playgroud)

请帮忙.我没有任何问题安装其他pkgs,老实说,不知道还有什么可以尝试.提前谢谢你,Superzucca

install r manual

8
推荐指数
1
解决办法
7868
查看次数

标签 统计

install ×1

manual ×1

r ×1