Not a duplicate: this question is about RStudio, not the R command prompt
I have an RMD file with two output formats in the header. However when I press "Knit" in RStudio, only the first output happens. Is this fixable?
Header:
---
title: "title"
output:
html_document:
css: style.css
code_folding: hide
dev: CairoSVG
toc: yes
github_document:
df_print: kable
toc: yes
---
Edit: It turns out the the "preview" version of RStudio allows you to pick which output you want. But outputting one will delete the other output.
rmarkdown::render
in a script and specifying theoutput_format
argument.output_format
is"all"
. I'm wondering if it's possible to set that value in RStudio github.com/rstudio/rmarkdown/blob/…