-
-
Save juliasilge/b075ea710d61a93bf2c3c2d1e68719ee to your computer and use it in GitHub Desktop.
How to set up pins on AWS S3
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
## in command line: aws sso login --profile PowerUser-158990117310 | |
library(pins) | |
b <- board_s3( | |
"pins-testing-julia", | |
profile = "PowerUser-158990117310", | |
region = "us-east-2" | |
) | |
## for a different bucket, see here: https://github.com/rstudio/pins-r/issues/608 | |
## and for GCS: | |
library(pins) | |
googleCloudStorageR::gcs_auth("~/posit-gcs-pins.json") | |
b <- board_gcs("pins-r-dev") | |
b %>% pin_write(mtcars, "wow-nice-cars") | |
b %>% pin_write(1:10, "really-great-numbers", type = "json") | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment