
This tutorial covers core R programming concepts including conditional logic, for and while loops, custom functions, the apply family of functions, functional programming with purrr, and error handling with tryCatch. It is aimed at researchers in linguistics and the humanities who want to move beyond basic R usage and write reusable, automated analysis pipelines. This tutorial is part of the Language Technology and Data Analysis Laboratory (LADAL), a free, open-access research infrastructure at the University of Queensland. LADAL provides tutorials, tools, and courses for researchers working with language data. All materials are freely available at https://ladal.edu.au and are part of the Language Data Commons of Australia (LDaCA), funded by ARDC and NCRIS.
