Search code examples
htmlrr-markdownpandoc

Rmarkdown HTML Template produces pandoc error 61


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

When knitting that HTML-Template:

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

```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```

## R Markdown

I always get the error

'Error: pandoc document conversion failed with error 61'

enter image description here

When setting self_contained: no in the YAML-header knitting works again

Is there anything I can do to get standalone html files ?

session_info


Solution

  • 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