我正在尝试在 Rstudio 中安装 gganimate,但失败了。在提交这个问题之前,我已经搜索了类似的问题。我尝试了人们推荐的以下代码,但它不起作用。
library(devtools)
library(RCurl)
library(httr)
set_config( config( ssl_verifypeer = 0L ) )
devtools::install_github("RcppCore/Rcpp")
devtools::install_github("thomasp85/gganimate")
curl::curl_fetch_memory(url, handle = h) 中的错误:schannel: next InitializeSecurityContext failed: SEC_E_INVALID_TOKEN (0x80090308) - 提供给函数的令牌无效
有些人建议手动安装 rtools 并更改路径,我这样做了但没有工作:
Sys.setenv(PATH = paste(Sys.getenv("PATH"), "C:/Rtools/bin/",
"C:/Rtools/mingw_64/bin", sep = ";"))
Sys.setenv(BINPREF = "C:/Rtools/mingw_64/bin/")
有人知道解决方案吗?