Do it:
Report ======================================================== This is my report. Some analysis is included in \href{http://stackoverflow.com/q/16445247/1000343}{LINK TO CHUNK NAMED MY.ANALYSIS HERE} ```{r my.analysis, echo=FALSE} summary(cars) ```
And then a hidden markdown file (not Rmd) in the PDF.
This also works with the version of reports :
```{r setup, include=FALSE} # set global chunk options opts_chunk$set(cache=TRUE) library(reports); library(knitr); ``` Report ======================================================== This is my report. Some analysis is included in `r HR("http://stackoverflow.com/q/16445247/1000343", "LINK TO CHUNK NAMED MY.ANALYSIS HERE")` ```{r my.analysis, echo=FALSE} summary(cars) ```
Then you convert the html file to pdf.
source share