-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f5b320d
commit 8955576
Showing
1 changed file
with
2 additions
and
4 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,10 +26,8 @@ Inspired by https://blog.djnavarro.net/posts/2022-03-17_using-aws-s3-in-r/ by [D | |
Maybe unsurprisingly (now that I think about) it - this post will not build with github actions since it is using my machine. Perhaps if we install the `aws` command line tool on the github actions runner and give it access to my account somehow it will work. That could be another post (or book perhaps) and | ||
may require [GitHub Enterprise Server](https://docs.github.com/en/[email protected]/admin/github-actions/enabling-github-actions-for-github-enterprise-server/enabling-github-actions-with-amazon-s3-storage). | ||
|
||
Quick post to document where I got to with syncing files to aws with R. Didn't love the `aws.s3::sync` function because | ||
from what I could tell I could not tell it to delete files if they were not present locally or in a bucket (I could be wrong). | ||
So... figured why not just call the `aws` command line tool from R. `processx` is an insane package that might be the mother of all | ||
packages. It allows you to run command line tools from R wiwht flexibility for some things like setting the directory | ||
"Quick" post to document where I got to with syncing files to aws with R. Didn't love the `aws.s3::sync` function because | ||
from what I could tell I could not tell it to delete files if they were not present locally or in a bucket (I could be wrong). So... figured why not just call the `aws` command line tool from R. `processx` is an insane package that might be the mother of all packages. It allows you to run command line tools from R wiwht flexibility for some things like setting the directory | ||
where the command is called in the function (big deal as far as I can tell). | ||
|
||
|
||
|