Rmarkdown HTML Template produces pandoc error 61

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


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