email = 'aaron.matthew.rosenberg@gmail.com'
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(httr) | |
library(rjson) | |
# Go to https://developer.nest.com/clients to register a new Nest client | |
# Nest OAuth 2.0 endpoints | |
nest <- oauth_endpoint( | |
request=NULL, | |
authorize="https://home.nest.com/login/oauth2?state=login", | |
access="https://api.home.nest.com/oauth2/access_token" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# restore_packages.R | |
# | |
# installs each package from the stored list of packages | |
# source: http://hlplab.wordpress.com/2012/06/01/transferring-installed-packages-between-different-installations-of-r/ | |
load("~/installed_packages.rda") | |
for (count in 1:length(installedpackages)) { | |
install.packages(installedpackages[count]) | |
} |