project

These are some instructions to start an R research project under version control.

  • install R, Rstudio and git
  • create a new github repository (https://github.com/new), initialize with Readme
  • Code -> Copy URL
  • Rstudio -> File -> New Project -> Version Control -> Git: paste URL, set subdirectory, create project.
  • Rstudio -> File -> New File -> R script / R markdown
  • follow good practices
  • Work, then commit changes and push to github