how to install gganimate in R

1

I am trying to install gganimate in Rstudio, but failed. Before submitting this question, I have already searched for similar question. I tried the following code people recommend, but it does not work.

library(devtools) 
library(RCurl)
library(httr) 

set_config( config( ssl_verifypeer = 0L ) )

devtools::install_github("RcppCore/Rcpp")

devtools::install_github("thomasp85/gganimate")

Error in curl::curl_fetch_memory(url, handle = h) : schannel: next InitializeSecurityContext failed: SEC_E_INVALID_TOKEN (0x80090308) - The token supplied to the function is invalid

some people suggest to install rtools and change path manually, I did that but not working:

Sys.setenv(PATH = paste(Sys.getenv("PATH"), "C:/Rtools/bin/",
                    "C:/Rtools/mingw_64/bin", sep = ";"))

Sys.setenv(BINPREF = "C:/Rtools/mingw_64/bin/")

Anybody know the solution?

r
asked on Stack Overflow Dec 3, 2018 by user3229139 • edited Dec 4, 2018 by neilfws

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0