Generate tabsets in a for loop with R Markdown

This post is about R Markdown's tabsets, so it is kept exactly as it was published: the tabs are the example.

Open the original post.