Stop automatic knitting after change from gitbook

Hi
I have RStudio set to save my scripts automatically (I have lost too often stuff after crashes).
I have a gitbook with several chapters. Everytime RStudio saves a file I am working the knit process for this single Rmd-file starts.

Is there a neat way to stop this behaviour (without changing the automatic saving in RStudio)?

I use R 4.0.4, bookdown 0.37 and Rmarkdown 2.25.
My _bookdown.yml looks like this

delete_merged_file: false
new_session: false
rmd_files: ["index.Rmd",
  "12_end_npish.Rmd", "01_end_gov.Rmd", "13_end_ausr.Rmd",
"14_end_bau.Rmd", "15_end_vvws.Rmd", "17_ste_ngs.Rmd", "22_pub.Rmd",
"contacts.Rmd",  "references.Rmd"]

Cheers

Do you have this ticked ?

image

I have no answer until now if that is what you are asking

No - I meant do you have the checkbox shown in image in my previous post ticked in the IDE.

If so, it would trigger a render each time you save.

Thanks but I didn't find the checkbox you mentionned in RStudio (4.0.4), but it set me on a search for this option and I found one of the project settings ("Re-knit preview when supporting files change...).

1 Like

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

If you have a query related to it or one of the replies, start a new topic and refer back with a link.