File size limit on server

562 views
Skip to first unread message

Charles Stangor

unread,
Nov 1, 2014, 11:59:25 AM11/1/14
to shiny-...@googlegroups.com
Hello,

I have tried to set the file size limit to be larger using for example:

options(shiny.maxRequestSize = 10000*1024^2)

But still I cannot upload a .csv greater than about 30MB which is limiting my application a lot. 

Thanks in advance.


Vincent

unread,
Nov 1, 2014, 1:35:29 PM11/1/14
to shiny-...@googlegroups.com
Does setting the option have any effect? Try the setting below for testing (i.e., no restriction on size). I wouldn't recommend leaving your server at this value.

options(shiny.maxRequestSize=-1)

Charles Stangor

unread,
Nov 1, 2014, 9:45:12 PM11/1/14
to shiny-...@googlegroups.com
Hi Vincent,

Thanks for your quick reply!  

It doesn't seem to matter what I put in the options line.  The program runs fine locally but not on the shinyapps.io server.  After the file is bigger than about 30MB I get the red line on the fileInput progress bar.  

Is there a way for me to tell if the options are being set properly?  I have the options line in both my UI.R and my SERVER.R files.

Thanks again!

Chuck

Vincent

unread,
Nov 2, 2014, 5:02:16 AM11/2/14
to shiny-...@googlegroups.com
I put the option in global.R. I imagine that server.R should work as well. What happens when you try this running locally? Can you restrict the size to below 5M? If that works you should also be able to increase the upload size on shinyServe.

Tareef Kawaf

unread,
Nov 2, 2014, 6:17:42 AM11/2/14
to shiny-...@googlegroups.com
Charles,
It sounds like this issue is a shinyapps.io issue.  It would be great to post that on shinyapps-users list.
I know we limit the bundle upload to 100MB, wasn't aware of any other limits, but it is possible that there is a bug there.

Best,
-Tareef

phill...@gmail.com

unread,
Nov 2, 2014, 6:20:09 AM11/2/14
to shiny-...@googlegroups.com
I have an app deployed on shinyapps.io with a CSV file a little over 50MB. I haven't deployed in a week or so, but prior to that this size CSV file was fine.

Cheers
Phill

Tareef Kawaf

unread,
Nov 2, 2014, 6:31:32 AM11/2/14
to Phill Clarke, shiny-...@googlegroups.com
I *think* that Charles is using the upload capability within Shiny to upload a 30MB file, instead of uploading the file at the deploy time though.

--
You received this message because you are subscribed to a topic in the Google Groups "Shiny - Web Framework for R" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/shiny-discuss/evz68gOq-rg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to shiny-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shiny-discuss/f0e21f50-765b-42fa-b0f2-bc14739f33f0%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Charles Stangor

unread,
Nov 2, 2014, 6:51:42 AM11/2/14
to shiny-...@googlegroups.com
Thanks everyone.

I put my statement in global.R. 

And yes, if I move the limit down locally I cannot upload.  

But moving the limit up on the server (to a value of -1) does not allow me to upload a file greater than 30MB
Reply all
Reply to author
Forward
0 new messages