Is there information on how to save knitr dir '_cache' and '_files' to specific location

I am using RStudio Version 1.2.5033 and R version 3.6.2 (2019-12-12).

I creating RMarkdown (.rmd) files for my work then generating either PDF's or HTML files for display.

When I knitr the .rmd file to generate the pdf/html I get 2 additional folders/dir ,


If I have 10 .rmd files I get 20 garbage '_cache' and '_files' directories generated.

Is there a way to save these folders into a directory of my choosing?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.