Reproducible Science and Programming - Literate Expressive Programming

Create For Loops

Learn how to write a for loop to process a set of .csv format text files in R.

last updated: 19 Oct 2017

Get to Know the Function Environment & Function Arguments in R

This lesson introduces the function environment and documenting functions in R. When you run a function intermediate variables are not stored in the global environment. This not only saves memory on your computer but also keeps our environment clean, reducing the risk of conflicting variables.

last updated: 19 Oct 2017

How to Source a Function in R

Learn how to source a function in R. Learn how to import functions that are stored in a separate file into a script or R Markdown file.

last updated: 19 Oct 2017