powered by
The function relies on options("fig_caption_no") in order to keep track of the last number.
options("fig_caption_no")
figCapNoNext(roman = getOption("fig_caption_no_roman", default = FALSE))
Whether or not to use roman numbers instead of Arabic. Can also be set through options(fig_caption_no_roman = TRUE)
options(fig_caption_no_roman = TRUE)
Other figure caption functions: figCapNoLast(), figCapNo()
figCapNoLast()
figCapNo()
org_opts <- options(fig_caption_no = 1) figCapNoNext() options(org_opts)
Run the code above in your browser using DataLab