Last active
December 6, 2020 14:22
-
-
Save abdu95/8c1663b9ca4ae46482d5e72add6ea751 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
install.packages("aws.translate", repos = c(getOption("repos"), "http://cloudyr.github.io/drat")) | |
# accessKeys.csv == the CSV downloaded from AWS containing your Acces & Secret keys | |
keyTable <- read.csv("accessKeys.csv", header = T) | |
AWS_ACCESS_KEY_ID <- as.character(keyTable$Access.key.ID) | |
AWS_SECRET_ACCESS_KEY <- as.character(keyTable$Secret.access.key) | |
#activate | |
Sys.setenv("AWS_ACCESS_KEY_ID" = AWS_ACCESS_KEY_ID, | |
"AWS_SECRET_ACCESS_KEY" = AWS_SECRET_ACCESS_KEY, | |
"AWS_DEFAULT_REGION" = "eu-west-1") | |
library("aws.translate") | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment