Closed ztancs closed 5 years ago
用install.packages("xaringan")安装好了,但编译不成功😢
Could not fetch http://Mac/Home/Documents/R/win-library/3.5/xaringan/rmarkdown/templates/xaringan/resources/default.html HttpExceptionRequest Request { host = "Mac" port = 80 secure = False requestHeaders = [] path = "/Home/Documents/R/win-library/3.5/xaringan/rmarkdown/templates/xaringan/resources/default.html" queryString = "" method = "GET" proxy = Nothing rawBody = False redirectCount = 10 responseTimeout = ResponseTimeoutDefault requestVersion = HTTP/1.1 } (ConnectionFailure user error (Network.Socket.gai_strerror not supported: 11004)) 错误: pandoc document conversion failed with error 61 此外: Warning messages: 1: In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, : there is no package called 'leaflet' 2: In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, : there is no package called 'DT' 停止执行
那个“http://Mac/Home/Documents/R/win-library/3.5/xaringan/rmarkdown/templates/xaringan/resources/default.html” 的地址看起来有问题,本地地址不应该有http://
的开头。
顺便请提供sessioninfo()和你的操作系统信息
File -> New File -> R Markdown -> From Templat中只有{rmarkdown}和{rticles}里面的模板,并没有ninjia presentation,请问如何修复?非常感谢!