rstudio / shiny

Easy interactive web applications with R
https://shiny.posit.co/
Other
5.37k stars 1.86k forks source link

fileInput button #56

Closed kkeenan02 closed 11 years ago

kkeenan02 commented 11 years ago

Is a fully functional 'fileInput' button far away? The button works well locally but causes a crash on glimmer, I assume because it is still experimental.

If it isn't a priority at the moment I can probably make do with a simple 'paste your data' input option, but would prefer the upload option.

Thanks

Kevin

Here is the error log from the JavaScript error console:


file: Genepop_[KKedit].gen [0%] shiny.js:1184 file: Genepop[KK_edit].gen [83%] shiny.js:1184

Listening on port 44915 Error in switch(msg$method, init = { : EXPR must be a length 1 vector Calls: runApp ... tryCatchList -> serviceApp -> service ->

Execution halted

edit: error information

hmaeda commented 11 years ago

I would like to see this in action too? perhaps with an example in the tutorial as to how to use it?

Using the code from this joe's gist it led to the following error when using glimmer...

Listening on port 53947 Error in switch(msg$method, init = { : EXPR must be a length 1 vector Calls: runApp ... tryCatchList -> serviceApp -> service -> Execution halted

cpsievert commented 11 years ago

I second this motion. fileInput() works on my local machine, but I'm getting the same error on http://glimmer.rstudio.com/cpsievert/pitchRx/

jcheng5 commented 11 years ago

It doesn't work at all on Glimmer, that's a known bug. I am working on rewriting this feature from the socket level on up; I am guessing it will land in master in the next 2-3 weeks.

jcheng5 commented 11 years ago

Fixed a while ago

kkeenan02 commented 11 years ago

Thanks for that, and for shiny and for Rstudio and for whatever you guys come up with in the future.

Cheers

Kevin

On 9 Apr 2013, at 22:23, "Joe Cheng" notifications@github.com<mailto:notifications@github.com> wrote:

Fixed a while ago

— Reply to this email directly or view it on GitHubhttps://github.com/rstudio/shiny/issues/56#issuecomment-16141086.