Just wanted to let you know that when I first tried connecting through R, it produced the following error so it looks like the Redshift package needs to be installed separately. The Instructure slides we were following didn't include that step and it created some confusion among our group. Just thought I'd share this info in case others were having the same problem.
Loading required package: redshift
In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
there is no package called ‘redshift’