This example uses the managers dataset with calls to charts.PerformanceSummary and table.Stats from the PerformanceAnalytics package to display a plot and table in the shiny application.
Below is a screenshot of the application.
You need to have shiny and Performance Analytics packages installed to run the application. Once those are installed, open your R prompt and run:
There is a great shiny tutorial from Rstudio as well as examples from SystematicInvestor for those interested in learning more.