Rmarkdown HTML Template produces pandoc error 61

前端 未结 2 1876
野趣味
野趣味 2020-12-03 22:55

Rmarkdown seams not working as usual after installing R3.4.3:

When knitting that HTML-Template:

---
title: \"Untitled\"
output: html_document
---  

         


        
相关标签:
2条回答
  • 2020-12-03 23:32

    Adding "self_contained: no" should remove the error message.

    ---
    title: "R Notebook"
    output: 
      html_document:
        self_contained: no
    ---
    

    Source: Error when knitting default RMarkdown file in RStudio - @UsamaFoad

    0 讨论(0)
  • 2020-12-03 23:42

    Finally I think found a solution which works after installing R 3.4.4 and RStudio 1.1.442 at my new Laptop and getting the same troubles.

    What solved the problem was to create a Renviron file :

    file.edit("~/.Renviron")
    

    and setting there a local path like this R_USER="C:/Users/my_name"

    Now knitting with self_contained: yes is possible without error

    0 讨论(0)
提交回复
热议问题