Resolving Duplicate Labels Error Code Chunk Externalization and Rmarkdown Notebook

knitr require unique label for chunk. Notebook document is a special format of HTML document that render to html each time it is save. As you cannot render with duplicated label, it cannot be save. For html_document format, there is no issue with saving but you will have an error when rendered.

1 Like