title: R Markdown - Hyperlink outside Rmd file
body: <p>I am wondering how we can define a hyperlink for R markdown outside Rmd file. Defining a hyperlink inside Rmd file is as easy as typing [hyperlink lable](actual link); but, if on the Rmd file, I am calling some other r-file (e.g., a function) that generates an address to a file, is there a way to transfer this information back to Rmd file to generate a hyperlink there?</p>
  
  <p>Please see example below for more clarification:</p>
  
  <p>Inside Rmd file:</p>
  
  <pre><code>myFun( with some input)
  </code></pre>
  
  <p>Inside myFun:</p>
  
  <pre><code>myFun &lt;- function( with some input)
  some calculations...
  return("[click here](C:/myFile.docx)")
  </code></pre>
  
  <p>The output on the generated html page is:</p>
  
  <p>[1] "[click here] (C:/myFile.docx)"</p>
  
  <p>Which is not a hyperlink!</p>