Insert hyperlink to code generated value in R Markdown
Unfortunately I'm not sure why it works this way, but you need http:// before (or https:// if it's a secure site).
```{r}
x = "http://www.google.com"
```
Then your method should work or you can use the standard html href
[site](`r x`)
<a href=`r x`>site<a>