无法打开https://yihui.name/tinytex/及相关页面

时间:2019-05-12 22:33:44

标签: bookdown tinytex

在过去的6个月里,在莫斯科(俄罗斯)访问https://yihui.name/tinytex/网站变得非常困难,而在最近的日子里,这变得非常困难。我不知道为什么它被阻止,但是只能使用VPN才能访问它。此问题使我无法安装Tinytex,因此无法使用bookdown软件包。

例如,如果我尝试安装tinytex,则会出现以下错误:

tinytex :: install_tinytex()

trying URL 'http://mirror.ctan.org/systems/texlive/tlnet/install-tl.zip'
Content length 352 bytes downloaded 21.5 MB
trying URL 'https://yihui.name/gh/tinytex/tools/pkgs-custom.txt'
trying URL 'https://yihui.name/gh/tinytex/tools/pkgs-custom.txt'
trying URL 'https://yihui.name/gh/tinytex/tools/pkgs-custom.txt'
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 'https://yihui.name/gh/tinytex/tools/pkgs-custom.txt': status was 'Couldn't connect to server'
2: In download.file(url, output, ..., method = method) :
  InternetOpenUrl failed: 'A connection with the server could not be established'
3: In download.file(url, output, ..., method = method) :
  InternetOpenUrl failed: 'A connection with the server could not be established'
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.

会话信息报告如下:

xfun::session_info('tinytex')
R version 3.4.3 (2017-11-30)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 16299), RStudio 1.2.1335
Locale:
  LC_COLLATE=Russian_Russia.1251  LC_CTYPE=Russian_Russia.1251    LC_MONETARY=Russian_Russia.1251 LC_NUMERIC=C                   
  LC_TIME=Russian_Russia.1251    
Package version:
  tinytex_0.12.4 tools_3.4.3    xfun_0.6 

因此,我有两个问题:

1)我可以不借助网站yihui.name/tinytex来安装tinytex吗?

2)或者,是否可以在安装tinytex时告诉Rstudio Desktop使用VPN连接到yihui.name/tinytex?

谢谢。

0 个答案:

没有答案