Motivation: I often want to paste the results of a quick analysis using R Markdown into a StackExchange site. This includes the R-tag on Stack Overflow, Cro
RStudio uses pandoc and so you can specify the markdown variant suitable for your needs. At the start of the .Rmd file:
---
output:
md_document:
variant: markdown_strict+autolink_bare_uris
---
You should then be able to copy/paste the resulting file contents into StackExchange.
See: http://rmarkdown.rstudio.com/markdown_document_format.html#markdown-variants