The accompanying R Notebook is a simple example that combines R code chunks, Python code chunks, and BibTeX literature citations in one R Markdown document.
For additional information please see RStudio as a Research and Writing Platform.
Click here to read the notebook.