Demo code to understand advanced features


#1

Hello Friends,

I want to understand quite advanced features of shiny:

  1. How to make Shiny faster
  2. How to make Shiny asynchronous
  3. How to make Shiny scalable

In order to demonstrate, I tried code available in various links such as https://speakerdeck.com/jcheng5/r-promises. But when I tried the code, there were only errors even after installing necessary packages and libraries.

Could you please share a demo code to understand these concept.

Thanks and Regards
Abhishek


#2

Those topics are pretty broad, but at the very least some of this is covered in the articles on the shiny.rstudio.com site.

https://shiny.rstudio.com/articles/

(I’ve trimmed this up just to point a couple out, but you’ll see it all at the link.)
image


#3

Thanks a lot for your time and effort, Mara.
This link has lot of videos necessary to understand the concept.


#4

I am very interesting from profiling shiny to fasten it. I searched for code in both https://github.com/rstudio/ShinyDeveloperConference/tree/master/Profiling and gitHub account from Winston.

Could you please help me with demo code.


#5

Profvis — Interactive Visualizations for Profiling R Code
https://rstudio.github.io/profvis/index.html

I got there through the profiling link on the Shiny page I linked to above.


#6

Thanks Mara,

In the link you provided has only an example of shiny profiling but in the video I mentioned Winston used read.csv() and flight data which I can recreate in my local machine.

Is it possible to see that specific code he demoed in the video.

Thanks in advance