I have a .Rmd file (say it's called "file.Rmd") that I would like to knit into a pdf by pressing the "Knit" button in RStudio. However, it yields an error because I can't figure out how to specify a value for intermediates_dir
in the render
function (for some reason I need to do this in the C drive).
Note that this works fine:
rmarkdown::render(file.Rmd, intermediates_dir = "C:/")
Is there a way to tell RStudio to knit using intermediates_dir = "C:/")
?