Importing R markdown to Confluence
If you want to use Markdown in Confluence, it's quite possible using my free Markdown for Confluence plugin. Get it here: https://bitbucket.org/dvdsmpsn/markdown-for-confluence/downloads
Alternatively, Atlassian have also written a Markdown Macro.
Hopefully, some of this will be applicable to R Markdown.