Before using this function, set up credentials for accessing minio using S3
hr_ls(bucket = "hrplus")
For example use environment variables like these: #AWS_ACCESS_KEY_ID=supersecret #AWS_SECRET_ACCESS_KEY=supersecret #AWS_S3_ENDPOINT=lib.kth.se #AWS_DEFAULT_REGION=data This can be achieved by adding these lines to the ~/.Renviron file. #file.edit("~/.Renviron") #readRenviron("~/.Renviron")