5th R-in-Grenoble working session
on the February 20, 2020
Each month, the Grenoble R-group organizes one working session of 2 hours, on Thursdays, from 16h-18h, at the Imag building.
Everyone is welcome from beginners to advanced R users. Participants just need to bring their laptop. Presentations or tutorials will last 30 to 60 min, on R topics that can be useful to many people, with practical examples. During the second part of the session, specific problems encountered by participants when coding in R will be discussed.
Drinks and snacks will be shared during the second part of the session.
Using Git and GitHub with R
As nicely written by Hadley Wickham R guru, 'Good coding style is like correct punctuation: you can manage without it, butitsuremakesthingseasiertoread.' In this session, we will review good practices to write R code : 1) style advises, 2) versioning with git. In a first part, we will present some ideas of the tidyverse style guide (following http://style.tidyverse.org/) , the second part will bedevoted to handle the integration between R and Git inside Rstudio. Asan exercise, we will provide you a Rmarkdown file to create a R packagein order to put in practice the previous recommendations and turnpersonal code into reusable code (following http://r-pkgs.had.co.nz). Make sure that the following packages are installed on your computer : git, R, RStudio, Rmarkdown, and Roxygen.
By A. Arnaud
Practical informations
Location
IMAG Building
700 avenue Centrale
38400 Saint-Martin-d'Hères