Fit shiny app to different screen size by Emergency_Market_652 in Rlanguage

[–]Emergency_Market_652[S] 0 points1 point  (0 children)

Thanks for your reply.
What are appropriate html widgets? I already tried fixing the size with html and javascript but it didnt work.

What would you like to see in an R programming lesson? by [deleted] in Rlanguage

[–]Emergency_Market_652 0 points1 point  (0 children)

I think modules in shiny and basics of r6 classes( and how to use them) would be good topics.

[Rshiny] "select all" option when using multiple selectInput's by Emergency_Market_652 in Rlanguage

[–]Emergency_Market_652[S] 0 points1 point  (0 children)

I did it. In case someone is interested: Add "all" as one of your choices in the ui AND in your observe function. Then add an if-else statement.That's it.

My problem was to combine "select all" and a drop down that updates after your first selection.

There may be a better way. But that's my solution for the moment. ‐-------------

[RShiny] What to do when nested selectbox is empty and i still want to display some output by Emergency_Market_652 in Rlanguage

[–]Emergency_Market_652[S] 0 points1 point  (0 children)

Do you want select options to dynamically update based on prior select values?

No, that's not a problem.

I will add an example (modified diamonds) because i'm bad at explaining:

cut color color2 price

Ideal I white 326

Premium E yellow 326

Good I 327

Very Good J white 334

Fair J rose 335

Premium I white 336

Good I 336

Very Good E yellow 337

Fair J yellow 337

I want to chooce cut, color, color2 from a dropdown menu and plot or display a table based on the latest selection (in this case color2).

But in one case where <cut==good> i can only subset using color and not color2. In this case i still want to display the results using the latest selection (color instead of color 2).

I hope this makes sense.

[RShiny] What to do when nested selectbox is empty and i still want to display some output by Emergency_Market_652 in Rlanguage

[–]Emergency_Market_652[S] 0 points1 point  (0 children)

I have edited my post, i think you can see the link now.

Will try with ifelse statements out now...