I am coming to RStudio from the CMD prompt and the pdflatex command. From my understanding, RStudio runs behind the scenes:
- pdflatex
- bibtex (if you have natbib going on)
- pdflatex
I would like to be able to pass some parameters like "-quiet" or "-interaction=nonstopmode"
From the command line, these are possible.
How do I add custom flags to the RStudio implementation of pdflatex?

You don't say, but I'll assume you're working in R Markdown. For R Markdown, RStudio gets
pandocto callpdflatex. From the Pandoc manual, you want to set the Pandoc option--pdf-engine-opt: see https://pandoc.org/MANUAL.html#option--pdf-engine-opt. To do this in an RMarkdown document, you put this in the header:If you want multiple arguments I think you can just include them in the string, but you might need to do it like this:
You'll have to try it to see which works for you; both are accepted, but I couldn't tell if they were both being acted on.