Skip to content

Instantly share code, notes, and snippets.

@mattgalbraith
Created May 17, 2024 15:44
Show Gist options
  • Save mattgalbraith/92f56e5b466e659becbe151908502c75 to your computer and use it in GitHub Desktop.
Save mattgalbraith/92f56e5b466e659becbe151908502c75 to your computer and use it in GitHub Desktop.
Git ignore file for R Projects
# Ignore .DS_Store
.DS_Store
# Ignore R image files
rdata/*RData
#####################################
# From Github R .gitignore template #
#####################################
# History files
.Rhistory
.Rapp.history
# Session Data files
.RData
# User-specific files
.Ruserdata
# Example code in package build process
*-Ex.R
# Output files from R CMD build
/*.tar.gz
# Output files from R CMD check
/*.Rcheck/
# RStudio files
.Rproj.user/
# produced vignettes
vignettes/*.html
vignettes/*.pdf
# OAuth2 token, see https://github.com/hadley/httr/releases/tag/v0.3
.httr-oauth
# knitr and R markdown default cache directories
*_cache/
/cache/
# Temporary files created by R markdown
*.utf8.md
*.knit.md
# R Environment Variables
.Renviron
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment