You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This was posted on slack already but at Blair's request I am posting it here
Download daaas_storage.R which serves as a workaround for accessing MinIO files using the R package aws.s3 and put it in the same shiny folder as the server, ui and global files.
The character string for prefix should link to the folder where files are stored which you wish to download via the shiny app. minio_filist is of class s3_bucket.
I found that I had to specify the full filepath from 'shared' in MinIO in order to get the download to work. 'download.zip' is the default name for which the file will be saved and is passed as an argument to the function specified in content.
Calling downloadFile in your ui file occurs as normal:
downloadButton('downloadFile','Download')
The text was updated successfully, but these errors were encountered:
This was posted on slack already but at Blair's request I am posting it here
Download
daaas_storage.R
which serves as a workaround for accessing MinIO files using the R packageaws.s3
and put it in the same shiny folder as the server, ui and global files.In the global file, include:
The character string for
prefix
should link to the folder where files are stored which you wish to download via the shiny app.minio_filist
is of classs3_bucket
.In the server file, include:
I found that I had to specify the full filepath from 'shared' in MinIO in order to get the download to work. 'download.zip' is the default name for which the file will be saved and is passed as an argument to the function specified in content.
Calling downloadFile in your ui file occurs as normal:
The text was updated successfully, but these errors were encountered: