How to change pandoc option in R Studio
<p>Installing package rmarkdown in R Studio you can create docx documents using a Rmd-file and pressing the <code>Knit Word</code> button.</p>

<p>The invoked command is then:</p>

<pre><code>"C:/Program Files/RStudio/bin/pandoc/pandoc" +RTS -K512m -RTS hallo.utf8.md --to docx --from markdown+autolink_bare_uris+ascii_identifiers+tex_math_single_backslash-implicit_figures
--output hallo.docx --highlight-style tango
</code></pre>

<p><strong>Question</strong></p>

<p>How to add other options? I want to add:</p>

<pre><code>--filter ./pandoc-word-pagebreak
</code></pre>

<p>to get:</p>

<pre><code>"C:/Program Files/RStudio/bin/pandoc/pandoc" +RTS -K512m -RTS hallo.utf8.md --to docx --from markdown+autolink_bare_uris+ascii_identifiers+tex_math_single_backslash-implicit_figures --filter ./pandoc-word-pagebreak
    --output hallo.docx --highlight-style tango
</code></pre>