Based on the structured list representing a chapter file, create the chapter file again.
deparse_chapter(chapter_list, chapter_file)
structured list resulting from parse_chapter
Path of the file to which you want to write the list representing the chapter.
# NOT RUN { chapter_list <- parse_chapter("path_to_file", htmlify = FALSE, check = FALSE) deparse_chapter(chapter_list, "chapterX.Rmd") # } # NOT RUN { # }
Run the code above in your browser using DataCamp Workspace