1
votes

I'm using the arrow package to read parquet files into my shiny app, which works well locally. However, when trying to deploy the app on shinyapps.io, I get the following installation error:

IOError: NotImplemented: Support for codec 'snappy' not built In order to read this file, you will need to reinstall arrow with additional features enabled. Set one of these environment variables before installing:

The message is very clear, but I haven't been able to pass those environment variables to the shinyapps.io server. I've tried uploading .bashrc and .Renviron files with appropriate environment variables set, but neither worked, and reading the mentioned article didn't help me, either.

I'd greatly appreciate any suggestions or explanations for how to proceed.

1

1 Answers

0
votes

I have had a similar issue. It seems that there is a problem with reading compressed parquet files on shinyapps.io. Not the solution but a workaround is to save your parquet files with compression = 'uncompressed' (default is snappy). Uncompressed parquet files read perfectly fine on shinyapps.io. This would increase the file size but in my case, it was still way better than using csv files.