/what-they-forgot

What They Forgot To Teach You About R, workshop homepage

Primary LanguageROtherNOASSERTION

What They Forgot to Teach You About R

Shortlinks and downloads:

  • rstd.io/forgot points here
  • rstd.io/forgot_gitter is our chat room (ignore if you are overstimulated already)
  • The issues here are a great place to record gotchas we encountered, good sidebar discussions, etc. that should be considered in future workshops.

Day 1, morning

  • Download PDF of of slides re: projects, file system operations, file names
  • usethis::use_course("rstd.io/forgot_1") downloads first challenge re: exploring your package libraries
  • usethis::use_course("rstd.io/forgot_2") downloads second challenge re: working with the filesystem programmatically - If you have trouble connecting to DropBox, the same files are here in the directory day1_s2_copy-files

Day 1, afternoon

  • Download PDF of slides re: Git + GitHub + R/Rmd
  • Happy Git with R
    • Participants and helpers should use this as primary resource for Git/GitHub setup and troubleshooting
    • This is also the permanent home of many of the activities we worked through, Git/GitHub topics covered, etc.
    • Issues are welcome here as well re: sections that should be added.

Day 2, morning

Day 2, afternoon

Gitter chat Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Installing the fs package on macOS

fs is a new package from Jim Hester that for managing files and directories that I will use throughout the workshop.

The CRAN mirrors are currently having trouble with macOS binaries. If you are on mac you can install the fs package with a binary for the current CRAN release (1.1.0):

url <- "https://github.com/jennybc/what-they-forgot/blob/master/fs_1.1.0.tgz?raw=true"
install.packages(url, repos = NULL, type = "binary")

There is also a binary available for the current development version of fs.

install.packages("https://github.com/r-lib/fs/releases/download/1.1.0.9000/fs_1.1.0.9000.tgz")

Fixing slow CRAN downloads

We have set up a local CRAN mirror for the RStudio conference. All requests to https://cran.rstudio.com/ are intercepted and redirected to this local mirror in order to improve download speeds. Make sure your default CRAN repo is set to the RStudio mirror (this is the default if you use RStudio):

options(repos = c(CRAN = "https://cran.rstudio.com/"))