Literate programming and reproducible scientific manuscripts

Andrea Sánchez-Tapia https://andreasancheztapia.netlify.app (¡liibre!)true , Sara Mortara true (re.green)
2022-08-10

Slides

Packages

remotes::install_github("ThinkR-open/remedy")
install.packages("knitr")
#If you use RStudio, install remedy and check how it works
  1. Create a new Rmd document in File > New file > R Markdown... (or a .Rmd text file) and knit it to check if your computer has any dependencies missing

Today: choose your own adventure

  1. Learn about reference managers
  2. Learn about rmarkdown
  3. Learn about \(\LaTeX\)
  4. Know what .bib is and know how to create one
  5. Know hoe to cite bibliography using .bib in rmarkdown or \(\LaTeX\)
  6. Use version control for writing
  7. Learn about Quarto

Reference managers

Do you use a reference manager?

If you do not, download and install Zotero (https://zotero.org)

Then install BetterBibTex https://retorque.re/zotero-better-bibtex/

If you use Mendeley, find the option to export your library to BibTeX (.bib) help

Files

A sample .bib file can be found here

A .csl citation style file can be found here

More styles can be downloaded from the Zotero style repository

References

Reuse

Text and figures are licensed under Creative Commons Attribution CC BY 4.0. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".

Citation

For attribution, please cite this work as

Sánchez-Tapia & Mortara (2022, Aug. 10). Scientific Programming: Literate programming and reproducible scientific manuscripts. Retrieved from https://scientific-computing.netlify.app/17_scientific_manuscripts.html

BibTeX citation

@misc{sánchez-tapia2022literate,
  author = {Sánchez-Tapia, Andrea and Mortara, Sara},
  title = {Scientific Programming: Literate programming and reproducible scientific manuscripts},
  url = {https://scientific-computing.netlify.app/17_scientific_manuscripts.html},
  year = {2022}
}