inst/examples-shiny/code-editor/examples/markdown.md

Getting Started with R Shiny

R Shiny is a powerful framework for building interactive web applications with R. Learn more at shiny.posit.co.

Key Features

  1. Reactive programming model
  2. Built-in UI components
  3. No JavaScript knowledge required
  4. Easy deployment options

Installation

Install Shiny from CRAN using the code below:

install.packages("shiny")
library(shiny)

Creating Your First App

A basic Shiny app requires:

Tip: Use shinyApp() for simple apps or create separate ui.R and server.R files for larger projects.

For inline code, use backticks like runApp() to execute your application.

Ready to build? Start with shinyAppTemplate() and customize from there!



Try the bslib package in your browser

Any scripts or data that you put into this service are public.

bslib documentation built on May 16, 2026, 9:06 a.m.