Uploading App to Shinyapps.io

423 views
Skip to first unread message

rohan1925

unread,
Jan 9, 2017, 3:52:01 PM1/9/17
to shinyapps.io Users
Hi all,

I am uploading a new app to my ShinyApps.io account ,but the size of the bundle is around 1.8GB because of the data.
I am working at an Nonprofit institution and want to use a free account as of now.However,the max size provided is 1 GB.Is there any other alternative ?

"Preparing to deploy application...DONE
Uploading bundle for application: 149004...
Error: HTTP 413
Bundle is too large. The maximum bundle size allowed is 1.00 GB for your subscription type."

Thanks,
Rohan

Joshua Spiewak

unread,
Jan 10, 2017, 10:16:57 AM1/10/17
to shinyapps.io Users
You could store the data elsewhere and have your shinyapps.io application access it remotely.
Or somehow compress it to fit within the 1 GB limit of the free account.

rohan1925

unread,
Jan 10, 2017, 10:28:33 AM1/10/17
to shinyapps.io Users
Hi Joshua ,

Thanks for your response.
I tried to compress the data using RData but the data is ~1.8 GB.
Do you know of options of compressing the data further in R?

rohan1925

unread,
Jan 11, 2017, 11:59:25 AM1/11/17
to shinyapps.io Users

I used rdrop2 package of R to access dropbox and get the data from dropbox directly.

I know the connection to dropbox is working,I have been able to create folders (Single_Cell_RNAseq_data) and move files.
My app is running fine when I run the app locally in R Studio ,the data gets uploaded from the dropbox and can be visualized.

saved the token locally

token <- drop_auth()
saveRDS(token, "droptoken.rds")

##in the global.r Script

token <- readRDS("droptoken.rds")
geneExpressionMatrix_yf1 <- drop_read_csv("Single_Cell_RNAseq_data/geneExpressionMatrix_yf1.csv",dtoken=token)

But while deploying on shinyapps.io, its throwing me this error.

An error has occurred
Unable to connect to worker after 60.00 seconds; startup took too long.


Any suggestions?


Thanks,

Rohan

Joshua Spiewak

unread,
Jan 13, 2017, 10:25:44 AM1/13/17
to shinyapps.io Users
How large is the CSV that is being loaded?
Is there anything else in your application's logs?
What instance type is your application configured to us? Have you tried a larger one, given your large dataset.
Reply all
Reply to author
Forward
0 new messages