参与了tinytex软件包的安装

问题描述

我在安装tinytex软件包时遇到问题。我正在使用以下命令:

install.packages('tinytex')
Installing package into ‘P:/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
trying URL 'https://nexus-tp.ubs.net/repository/public-lib-r-cran/bin/windows/contrib/3.6/tinytex_0.25.zip'
Content type 'application/zip' length 111165 bytes (108 KB)
downloaded 108 KB

package ‘tinytex’ successfully unpacked and MD5 sums checked

现在我在使用时收到警告

tinytex::install_tinytex()
trying URL 'http://mirror.ctan.org/systems/texlive/tlnet/install-tl.zip'
trying URL 'http://mirror.ctan.org/systems/texlive/tlnet/install-tl.zip'
trying URL 'http://mirror.ctan.org/systems/texlive/tlnet/install-tl.zip'
Error in xfun::download_file(...,quiet = Sys.getenv("appveyor") != "") : 
  No download method works (auto/wininet/wget/curl/lynx)
In addition: Warning messages:
1: In download.file(url,output,...,method = method) :
  URL 'http://mirror.ctan.org/systems/texlive/tlnet/install-tl.zip': status was 'Couldn't resolve host name'
2: In download.file(url,method = method) :
  cannot open URL 'http://mirror.ctan.org/systems/texlive/tlnet/install-tl.zip': HTTP status was '403 MediaTypeBlocked-Executables'
3: In download.file(url,method = method) :
  cannot open URL 'http://mirror.ctan.org/systems/texlive/tlnet/install-tl.zip': HTTP status was '403 MediaTypeBlocked-Executables'
Please quit and reopen your R session and IDE (if you are using one,such as RStudio or Emacs) and check if tinytex:::is_tinytex() is TRUE.

我读了很多关于它的文章,并且整个人都有同样的问题。他们说,最简单的解决方案是使用命令预构建。在该命令之后,R下载了150MB的zip文件,然后显示警告。

tinytex:::install_prebuilt()
Warning message:
In extract(path,exdir = path.expand(dirname(default_inst()))) :
  error -1 in extracting from zip file

您能帮我解决这个问题吗?或任何其他解决方案,如何使我的R检测pdflatex。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...