Rmarkdown renders blank html page

My rmarkdown was working, rendering reports in html. Something has changed and i can't seem to figure out how fix it.

Its not my code, as the default code when starting a new Rmarkdown file won't render. I get this in the rmarkdown console:

"C:/Program Files/RStudio/bin/pandoc/pandoc" +RTS -K512m -RTS DSC607_test.utf8.md --to html4 --from markdown+autolink_bare_uris+ascii_identifiers+tex_math_single_backslash+smart --output DSC607_test.html --email-obfuscation none --self-contained --standalone --section-divs --template "C:\Users\lmaxo\Documents\R\win-library\3.6\rmarkdown\rmd\h\default.html" --no-highlight --variable highlightjs=1 --variable "theme:bootstrap" --include-in-header "C:\Users\lmaxo\AppData\Local\Temp\Rtmp0QfcA2\rmarkdown-str1a04301f164b.html" --mathjax --variable "mathjax-url:https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" --metadata pagetitle=DSC607_test.utf8.md

Output created: DSC607_test.html

Then it pops up a blank HTML page. I am at a loss. I have tried to re-install but it isn't working.

thank you.

I figured it out, the default code that is included with a rmarkdown file 'setup, include' was set to false. WHen i changed to true it started rendering my files.

knitr::opts_chunk$set(echo = TRUE)
1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.