Code Snippets

Some code snippets as reminders

ggplot2: put data on log scale

ggplot2: Put data on a log scale

Read Password Protected Files in R

Read Password Protected Excel files in R

Raw Strings in R

In Version 4.0.0 of R raw strings were added r"(...)"

Convert an `R` file into an Rmd

Use knitr::spin() to convert R file into Rmd

Hide certain plots and results in rendered Rmd

Use code chunk options to hide results and plots