Skip to content

Instantly share code, notes, and snippets.

@RobWiederstein
Created March 25, 2020 17:28
Show Gist options
  • Save RobWiederstein/7f1f4778a838944b0498a493e2ea6743 to your computer and use it in GitHub Desktop.
Save RobWiederstein/7f1f4778a838944b0498a493e2ea6743 to your computer and use it in GitHub Desktop.
# Rob Wiederstein
# .gitignore for R projects
# github doesn't track empty dirs
# other templates: https://github.com/github/gitignore
#
# General
.DS_Store
# 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
# data download files
data_raw/*.csv
# data output files
data_tidy/*.geojson
data_tidy/*.csv
data_tidy/*.json
#data output files charts
figs/*.jpg
figs/*.png
figs/*.jpeg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment