Skip to content

Instantly share code, notes, and snippets.

@abdu95
Last active Dec 6, 2020
Embed
What would you like to do?
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