Windows 10 - tinytex::install_tinitex() does not work












0














I tried to install TinyTeX on windows10 without success.



I don't think it is a proxy issue as regular packages are installed. I installed wget following those recommendations. Wget works with powershell but not cmd.



I'm using Rstudio 1.1.463 and R 3.5.1



It is a brand new computer, no previous LaTeX installation. It is bothersome as I'm a big fan of TinyTeX and add no problems installing it on Ubuntu at home.



I restarted Rstudio and the command is_tinytex() returns false.



This the output of the installation commands:



> library(tinytex)
> 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'
Content type 'application/zip' length 24073684 bytes (23.0 MB)
downloaded 23.0 MB

trying URL 'https://github.com/yihui/tinytex/raw/master/tools/pkgs-custom.txt'
Content length 142 bytes
downloaded 312 bytes

trying URL 'https://github.com/yihui/tinytex/raw/master/tools/texlive.profile'
Content length 142 bytes
downloaded 295 bytes

Starting to install TinyTeX to C:UsersroelandtAppDataRoaming/TinyTeX. It will take a few minutes.
Automated TeX Live installation using profile: ../texlive.profile
cannot contact mirror.ctan.org, returning a backbone server!
Loading http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb
C:UsersroelandtAppDataLocalTempRtmpoXezBrinstall-tl-20181123install-tl: TLPDB::from_file could not download http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb;
C:UsersroelandtAppDataLocalTempRtmpoXezBrinstall-tl-20181123install-tl: maybe the repository setting should be changed.
TinyTeX installed to C:UsersroelandtAppDataRoaming/TinyTeX
Please restart your R session and IDE (if you are using one, such as RStudio or Emacs) and check if tinytex:::is_tinytex() is TRUE.
Warning messages:
1: In download.file(url, output, ..., method = method) :
URL 'http://mirror.ctan.org/systems/texlive/tlnet/install-tl.zip': status was 'Failure when receiving data from the peer'
2: In file.remove("TinyTeX/install-tl.log") :
cannot remove file 'TinyTeX/install-tl.log', reason 'No such file or directory'


Information about the session



> sessionInfo() R version 3.5.1 (2018-07-02) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows >= 8 x64 (build 9200)

Matrix products: default

locale: [1] LC_COLLATE=French_France.1252 LC_CTYPE=French_France.1252 LC_MONETARY=French_France.1252 [4] LC_NUMERIC=C LC_TIME=French_France.1252

attached base packages: [1] stats graphics grDevices utils datasets methods base

loaded via a namespace (and not attached): [1] compiler_3.5.1 tools_3.5.1 yaml_2.2.0 tinytex_0.9 xfun_0.4
> RStudio.Version()$version [1] ‘1.1.463’


Thanks,



Nicolas










share|improve this question



























    0














    I tried to install TinyTeX on windows10 without success.



    I don't think it is a proxy issue as regular packages are installed. I installed wget following those recommendations. Wget works with powershell but not cmd.



    I'm using Rstudio 1.1.463 and R 3.5.1



    It is a brand new computer, no previous LaTeX installation. It is bothersome as I'm a big fan of TinyTeX and add no problems installing it on Ubuntu at home.



    I restarted Rstudio and the command is_tinytex() returns false.



    This the output of the installation commands:



    > library(tinytex)
    > 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'
    Content type 'application/zip' length 24073684 bytes (23.0 MB)
    downloaded 23.0 MB

    trying URL 'https://github.com/yihui/tinytex/raw/master/tools/pkgs-custom.txt'
    Content length 142 bytes
    downloaded 312 bytes

    trying URL 'https://github.com/yihui/tinytex/raw/master/tools/texlive.profile'
    Content length 142 bytes
    downloaded 295 bytes

    Starting to install TinyTeX to C:UsersroelandtAppDataRoaming/TinyTeX. It will take a few minutes.
    Automated TeX Live installation using profile: ../texlive.profile
    cannot contact mirror.ctan.org, returning a backbone server!
    Loading http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb
    C:UsersroelandtAppDataLocalTempRtmpoXezBrinstall-tl-20181123install-tl: TLPDB::from_file could not download http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb;
    C:UsersroelandtAppDataLocalTempRtmpoXezBrinstall-tl-20181123install-tl: maybe the repository setting should be changed.
    TinyTeX installed to C:UsersroelandtAppDataRoaming/TinyTeX
    Please restart your R session and IDE (if you are using one, such as RStudio or Emacs) and check if tinytex:::is_tinytex() is TRUE.
    Warning messages:
    1: In download.file(url, output, ..., method = method) :
    URL 'http://mirror.ctan.org/systems/texlive/tlnet/install-tl.zip': status was 'Failure when receiving data from the peer'
    2: In file.remove("TinyTeX/install-tl.log") :
    cannot remove file 'TinyTeX/install-tl.log', reason 'No such file or directory'


    Information about the session



    > sessionInfo() R version 3.5.1 (2018-07-02) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows >= 8 x64 (build 9200)

    Matrix products: default

    locale: [1] LC_COLLATE=French_France.1252 LC_CTYPE=French_France.1252 LC_MONETARY=French_France.1252 [4] LC_NUMERIC=C LC_TIME=French_France.1252

    attached base packages: [1] stats graphics grDevices utils datasets methods base

    loaded via a namespace (and not attached): [1] compiler_3.5.1 tools_3.5.1 yaml_2.2.0 tinytex_0.9 xfun_0.4
    > RStudio.Version()$version [1] ‘1.1.463’


    Thanks,



    Nicolas










    share|improve this question

























      0












      0








      0







      I tried to install TinyTeX on windows10 without success.



      I don't think it is a proxy issue as regular packages are installed. I installed wget following those recommendations. Wget works with powershell but not cmd.



      I'm using Rstudio 1.1.463 and R 3.5.1



      It is a brand new computer, no previous LaTeX installation. It is bothersome as I'm a big fan of TinyTeX and add no problems installing it on Ubuntu at home.



      I restarted Rstudio and the command is_tinytex() returns false.



      This the output of the installation commands:



      > library(tinytex)
      > 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'
      Content type 'application/zip' length 24073684 bytes (23.0 MB)
      downloaded 23.0 MB

      trying URL 'https://github.com/yihui/tinytex/raw/master/tools/pkgs-custom.txt'
      Content length 142 bytes
      downloaded 312 bytes

      trying URL 'https://github.com/yihui/tinytex/raw/master/tools/texlive.profile'
      Content length 142 bytes
      downloaded 295 bytes

      Starting to install TinyTeX to C:UsersroelandtAppDataRoaming/TinyTeX. It will take a few minutes.
      Automated TeX Live installation using profile: ../texlive.profile
      cannot contact mirror.ctan.org, returning a backbone server!
      Loading http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb
      C:UsersroelandtAppDataLocalTempRtmpoXezBrinstall-tl-20181123install-tl: TLPDB::from_file could not download http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb;
      C:UsersroelandtAppDataLocalTempRtmpoXezBrinstall-tl-20181123install-tl: maybe the repository setting should be changed.
      TinyTeX installed to C:UsersroelandtAppDataRoaming/TinyTeX
      Please restart your R session and IDE (if you are using one, such as RStudio or Emacs) and check if tinytex:::is_tinytex() is TRUE.
      Warning messages:
      1: In download.file(url, output, ..., method = method) :
      URL 'http://mirror.ctan.org/systems/texlive/tlnet/install-tl.zip': status was 'Failure when receiving data from the peer'
      2: In file.remove("TinyTeX/install-tl.log") :
      cannot remove file 'TinyTeX/install-tl.log', reason 'No such file or directory'


      Information about the session



      > sessionInfo() R version 3.5.1 (2018-07-02) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows >= 8 x64 (build 9200)

      Matrix products: default

      locale: [1] LC_COLLATE=French_France.1252 LC_CTYPE=French_France.1252 LC_MONETARY=French_France.1252 [4] LC_NUMERIC=C LC_TIME=French_France.1252

      attached base packages: [1] stats graphics grDevices utils datasets methods base

      loaded via a namespace (and not attached): [1] compiler_3.5.1 tools_3.5.1 yaml_2.2.0 tinytex_0.9 xfun_0.4
      > RStudio.Version()$version [1] ‘1.1.463’


      Thanks,



      Nicolas










      share|improve this question













      I tried to install TinyTeX on windows10 without success.



      I don't think it is a proxy issue as regular packages are installed. I installed wget following those recommendations. Wget works with powershell but not cmd.



      I'm using Rstudio 1.1.463 and R 3.5.1



      It is a brand new computer, no previous LaTeX installation. It is bothersome as I'm a big fan of TinyTeX and add no problems installing it on Ubuntu at home.



      I restarted Rstudio and the command is_tinytex() returns false.



      This the output of the installation commands:



      > library(tinytex)
      > 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'
      Content type 'application/zip' length 24073684 bytes (23.0 MB)
      downloaded 23.0 MB

      trying URL 'https://github.com/yihui/tinytex/raw/master/tools/pkgs-custom.txt'
      Content length 142 bytes
      downloaded 312 bytes

      trying URL 'https://github.com/yihui/tinytex/raw/master/tools/texlive.profile'
      Content length 142 bytes
      downloaded 295 bytes

      Starting to install TinyTeX to C:UsersroelandtAppDataRoaming/TinyTeX. It will take a few minutes.
      Automated TeX Live installation using profile: ../texlive.profile
      cannot contact mirror.ctan.org, returning a backbone server!
      Loading http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb
      C:UsersroelandtAppDataLocalTempRtmpoXezBrinstall-tl-20181123install-tl: TLPDB::from_file could not download http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb;
      C:UsersroelandtAppDataLocalTempRtmpoXezBrinstall-tl-20181123install-tl: maybe the repository setting should be changed.
      TinyTeX installed to C:UsersroelandtAppDataRoaming/TinyTeX
      Please restart your R session and IDE (if you are using one, such as RStudio or Emacs) and check if tinytex:::is_tinytex() is TRUE.
      Warning messages:
      1: In download.file(url, output, ..., method = method) :
      URL 'http://mirror.ctan.org/systems/texlive/tlnet/install-tl.zip': status was 'Failure when receiving data from the peer'
      2: In file.remove("TinyTeX/install-tl.log") :
      cannot remove file 'TinyTeX/install-tl.log', reason 'No such file or directory'


      Information about the session



      > sessionInfo() R version 3.5.1 (2018-07-02) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows >= 8 x64 (build 9200)

      Matrix products: default

      locale: [1] LC_COLLATE=French_France.1252 LC_CTYPE=French_France.1252 LC_MONETARY=French_France.1252 [4] LC_NUMERIC=C LC_TIME=French_France.1252

      attached base packages: [1] stats graphics grDevices utils datasets methods base

      loaded via a namespace (and not attached): [1] compiler_3.5.1 tools_3.5.1 yaml_2.2.0 tinytex_0.9 xfun_0.4
      > RStudio.Version()$version [1] ‘1.1.463’


      Thanks,



      Nicolas







      r rstudio tinytex






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 23 '18 at 10:26









      Nicolas Roelandt

      134




      134
























          0






          active

          oldest

          votes











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53444892%2fwindows-10-tinytexinstall-tinitex-does-not-work%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53444892%2fwindows-10-tinytexinstall-tinitex-does-not-work%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Trompette piccolo

          Slow SSRS Report in dynamic grouping and multiple parameters

          Simon Yates (cyclisme)