Click Download button to get file!
What finally worked in AWS is the use of the package downloader. https://cran.r-project.org/web/packages/downloader/downloader.pdf. This will download a file and source it. Because it uses the download() function, it can handle https URLs. This will download a file and find a SHA-1 hash of it, using digest(). ... "/raw/db0c9bfe0de85d15c60b0b9bf22403c0f5e1fb15/test.r") sha_url(test_url) # Command ... I am trying to download some PDFs from a url (travel.state.gov) and the download.file package isn't working because it requires http or https.