Bookdown: is it possible to use figure caption number in R code?


When useing numbered figure caption in {bookdown}, is it possible to access this auto-generated numbers in R code? Specifically, I want to use this number to save plot with the filename correspondent to the figure number.

This topic was automatically closed 21 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.