Skip to content

Instantly share code, notes, and snippets.

@PolMine
Created November 30, 2019 19:34
Show Gist options
  • Save PolMine/1683dd9baad585b48609689ff0ef1cf5 to your computer and use it in GitHub Desktop.
Save PolMine/1683dd9baad585b48609689ff0ef1cf5 to your computer and use it in GitHub Desktop.
Download Topicmodel from Amazon S3
Sys.setenv(
"AWS_ACCESS_KEY_ID" = "<my-access-key>",
"AWS_SECRET_ACCESS_KEY" = "<my-secret-access-key>"
)
library(aws.s3)
get_bucket("polmine")
lda <- s3readRDS("corpora/cwb/germaparl/germaparl_lda_speeches_250.rds", bucket = "polmine")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment