thisisnic commented on a change in pull request #12131:
URL: https://github.com/apache/arrow/pull/12131#discussion_r783067540
##########
File path: r/vignettes/fs.Rmd
##########
@@ -144,3 +147,28 @@
s3://minioadmin:minioadmin@?scheme=http&endpoint_override=localhost%3A9000
Among other applications, this can be useful for testing out code locally
before
running on a remote S3 bucket.
+
+## Disabling the use of environment variables
+
+As mentioned above, it is possible to make use of environment variables to
+configure access. However, if you wish to pass in connection details via a URI
+or alternative methods but also have existing AWS environment variables
defined,
+these may interfere with your session. You can unset these environment
+variables using `Sys.unsetenv()`, for example:
+
+```{r, eval = FALSE}
+Sys.unsetenv("AWS_DEFAULT_REGION")
+Sys.unsetenv("AWS_S3_ENDPOINT")
Review comment:
Should this instead be a snippet which contains instructions for
unsetting env vars and then resetting at end of session?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]