Computing Kitchen

Everyday computational science


Project maintained by adolgert Hosted on GitHub Pages — Theme by mattgraham

Using R for Research Code

12 Oct 2021 - adolgert

Tips on using R for research code.

Introduction

A group of researchers at work asked for advice on how to write R code that would work better and last longer. They are all fine at R but don’t have a community of practice from which to understand best-known methods. When I work on research code, I think of packaging, testing, and documentation as a source of psychological safety for my work, so I called my response a Safety Guide for Research with R.