How to refer to the same footnote twice in R markdown

As the title says. Is there any way to refer to the same footnote twice (or more) without creating duplicate footnotes? For example, this R markdown code creates duplicate footnotes with the same content. I want to merge it into one. How can I do it?

First part of the document^[same footnote]

Second part of the document^[same footnote]