Input and Output Practical

R
Shiny
Input Widgets
User Interaction
Data Visualization
Interactive Plots
Tables

Now that we have explored our inputs and outputs in RShiny, we are going to put it all together to create the app using the mtcars dataset`.

Authors

Will Gammerdinger

Meeta Mistry

Published

October 29, 2025

Keywords

input widgets, Shiny inputs, selectInput, UI, plotOutput, renderPlot, DTOutput, renderDT, data tables, interactive plots, brushedPoints, plot interactivity, brush

Input and Output Practical

In this practical we are going to create the app below:

This app let’s us select the columns that we would like to plot and then allows us to use a brush on our plot select an area of points that we are interested in evaluating.

Let’s focus on creating this app in several parts:

  1. Create two selectInput() menus to choose the x- and y-axis to plot along with the resulting output plot.

  2. Add to our app the ability to brush over the plot and select points to place in a table beneath the plot.


Next Lesson >>

Back to Schedule

Reuse

CC-BY-4.0