I wrote a nice R script that takes a bibtex document and makes a clickable lit review in html using Bookdown.
However one thing that is frustrating is that even though I am writing in sublime text and only need to run my "build" script pretty rarely, I still need to use RStudio to compile the document. This is because using Bookdown in Rstudio makes R look for Rstudio's own pandoc installation, which has the correct version of Pandoc's Citeproc.
When I run it in the plain old R Console GUI app, which I prefer since a) it's faster to write commands in and b) I like how help windows open in a new browser tab rather than a new pane, bookdown looks at my computer's default pandoc installation, which apparently doesn't have the right add-ons.
Is there any way that I can start the basic R Console so it has the exact same behavior as my r studio console? I would prefer this solution than trying to install the right set of pandoc add-ons.
In all, I really don't like how code has different behaviors based on the IDE I am using to run it. Is there any work to make this not the case?