I tried to Knit HTML
the following Rmd file:
---
title: \"Untitled\"
author: \"Florian Privé\"
date: \"12 septembre 2016\"
output: html_document
I also just experienced this issue. I see that it's been a couple years since this was last addressed, so I wanted to update with the solution that I've found in 2020.
I received that exact error that was mentioned at the top, and had into do a fresh install of Rtools. I originally had RBuildTools, which works for other packages I've built, but still had the issue when compiling the cpp code for this project. I installed Rtools40 and kept all of the defaults. Then changed the system path variable on my windows 10 machine to say C:\rtools40\usr\bin
. After restarting the machine, knitr rendered the document without any further errors.
Rtools40 installation instructions can be found at this link
I hope that this helps!