From this link I was able to replicate the references result.
https://texblog.org/2013/08/20/rknitr-automatic-bibliography-generation-with-biblatex-in-rstudio/
How can I add more than one output? And how can I add these references output manually ?
Ive been struggling these last days to find how to do this. But I wasnt able.
Any help?
This is the code:
\documentclass{article}
\usepackage{hyperref}
\usepackage[backend=bibtex, sorting=none]{biblatex}
\bibliography{references}
\begin{filecontents*}{references.bib}
@Manual{knitr2013,
title = {knitr: A general-purpose package for dynamic report
generation in R},
author = {Yihui Xie},
year = {2013},
note = {R package version 1.4.1},
url = {http://yihui.name/knitr/},
}
\end{filecontents*}
\begin{document}
\section*{Automatic biblatex bibliography generation in RStudio using knitr}
<<setup, include=FALSE, cache=FALSE, echo=FALSE>>=
opts_chunk$set(fig.path='figures/plots-', fig.align='center', fig.show='hold', eval=TRUE, echo=TRUE)
options(replace.assign=TRUE,width=80)
Sys.setenv(TEXINPUTS=getwd(),
BIBINPUTS=getwd(),
BSTINPUTS=getwd())
@
<<sample-data-hist-and-box, out.width='0.48\\textwidth'>>=
sampleData <- rnorm(1000, 0,1)
hist(sampleData)
boxplot(sampleData)
@
This document was produced in RStudio using the knitr package \cite{knitr2013} by \url{http://texblog.org}.
\printbibliography
\end{document}