Issues behind AWS

27 views
Skip to first unread message

Erik Westlund

unread,
Aug 31, 2015, 1:19:44 AM8/31/15
to shiny-discuss
Hi everyone,

I recently started moving my web setup to AWS from Linode.  I have an app I wrote a while ago for practice in Shiny that uses custom HTML + binds inputs to shiny.  

Under AWS, the inputs up top are not binding.  It causes the error.  Example:


However, under Linode it's fine:

http://104.200.28.88:3838/blackjacker/



Other apps work fine.

I have port 3838 freed up on both.

I'm wondering if it has something to do with shiny/shiny-server/R and versions.

AWS: 3.2.2 shiny-server 1.4.0.721   (latest build) Shiny_0.12.2

Linode: 3.0.2 shiny-server 1.2.2.367    Shiny version 10.2.1


Nothing mission critical here, but I'm still puzzled. Would Joe or any of the developers have any insights?

Thanks if anyone has any input.

Joe Cheng

unread,
Aug 31, 2015, 3:24:46 PM8/31/15
to Erik Westlund, shiny-discuss
The way radio buttons are bound changed in Shiny 0.11 (I think). You need to do something like this:

<div class="shiny-input-radiogroup" id="mygroup">
  <input type="radio" name="mygroup" value="...">  ...
</div>

I've bolded the parts that are most important. The ID of the outer div needs to match the names of the radio inputs. And shiny-input-radiogroup must be the class of the outer div. (If you want a span instead of a div for the container, that should be fine too.)

--
You received this message because you are subscribed to the Google Groups "Shiny - Web Framework for R" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shiny-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shiny-discuss/CAKjescO5tinE1s7Y%2BOr2djafp7v%3Db_hNBMPSJUOa1o%3D_0bn1aA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages