I am still a beginner in R so apologies if I sound non technical.
So I am trying to get this animation on Rpubs. Basically, I have created images out of ggplot and saved as gif. now when I knit it on web it works but when I try to publish it on rpubs it gives me an error. Please see below is my code and error that I am getting.
library(purrr) # for mapping over a function library(magick) # this is call to animate/read pngs list.files(path = "./images/", pattern = "*.png", full.names = T) %>% map(image_read) %>% # reads each path file image_join() %>% # joins image image_animate(fps=2) %>% # animates, can opt for number of loops print("coned.gif")
Error curl: (52) Empty reply from server Error in uploadFunction(path, "application/x-compressed", headers, packageFile) : Upload failed (curl error 52 occurred) Calls: rpubsUpload -> uploadFunction Execution halted