【问题标题】:R: TinyTex Installation Error: `Error in xfun::download_file(..., quiet = Sys.getenv("APPVEYOR") != "") `R:TinyTex 安装错误:`xfun::download_file(..., quiet = Sys.getenv("APPVEYOR") != "") 中的错误
【发布时间】:2022-01-22 13:33:17
【问题描述】:

我尝试使用通常的tinytex::install_tinytex() 在我的系统中安装tinytex。但是,它导致了以下错误:

> tinytex::install_tinytex()
trying URL 'https://yihui.org/tinytex/TinyTeX-1.zip'
trying URL 'https://yihui.org/tinytex/TinyTeX-1.zip'
trying URL 'https://yihui.org/tinytex/TinyTeX-1.zip'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   134    0   134    0     0      7      0 --:--:--  0:00:17 --:--:--    37
curl: (6) Could not resolve host: ci.appveyor.com
Error in xfun::download_file(..., quiet = Sys.getenv("APPVEYOR") != "") : 
  No download method works (auto/wininet/wget/curl/lynx)

我似乎找不到这个问题的根源。有什么帮助吗?

【问题讨论】:

    标签: r latex r-markdown knitr tinytex


    【解决方案1】:

    不知道为什么您的curl 无法连接到ci.appveyor.com,但有其他方法可以安装 TinyTeX,例如,

    tinytex::install_tinytex(version = "latest")
    

    【讨论】:

      猜你喜欢
      • 2018-10-06
      • 2021-04-20
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多