Tutorialspoint

April Learning Carnival is here, Use code FEST10 for an extra 10% off

R Shiny for absolute beginners

person icon Bogdan Anastasiei

4.1

R Shiny for absolute beginners

Build your first shiny app from scratch, even if you have no experience with Shiny

updated on icon Updated on Apr, 2024

language icon Language - English

person icon Bogdan Anastasiei

category icon R Programming,Data Science,Data & Analytics,Data Visualization

Lectures -28

Resources -5

Duration -1.5 hours

4.1

price-loader

Training 5 or more people ?

Get your team access to 10000+ top Tutorials Point courses anytime, anywhere.

Course Description

In this Shiny tutorial you will learn the fundamentals of Shiny programming and, more important, you will build your first shiny app, starting from zero. So even if you have no experience with shiny right now, when you finish this tutorial you will be able to start building simple shiny applications.


So, let’s see what you are going to learn in this course.


In the second section of the course, before getting into stuff, we review the app that we are going to build. This way you will have a clear idea about our goal. You can refer to this section at any time – while learning – to see what you have done until that moment and what remains to be done.


In the third section we’ll clarify the main Shiny concepts. We’ll talk about the big components of any Shiny app – user interface and server – and we’ll explain their role and function. Then we’ll present the basic shiny app template – you can use this template as a starting point for any app that you’ll build in the future.


In the next section we’ll build a neat layout for our app. We cannot enter into advanced layout techniques , but we’ll still create a grid layout to organise the app elements in the page and make the user interface good-looking.


The fifth section is about creating input objects. The inputs are the elements that allow the user to interact with the app. You’ll learn how to write input objects using shiny code and we’ll create the inputs that we need in our app.


The sections six and seven are about the outputs. First, we’ll learn about output placeholders – some special functions that indicate the type and place of each output object in the user interface. You will be acquainted with the output objects that the shiny program can build – text, tables, charts and images. Furthermore, you will learn the exact procedure that shiny employs for creating outputs.


After learning about the user interface elements, you must understand how the server function works. But first you must grasp the concept of reactivity. The section number eight is dedicated to this topic. Here we define reactivity and explain the crucial concept of reactive context. To manipulate variables in Shiny we absolutely need to generate reactive context. That’s why we’ll learn a few functions that do exactly that. Everything is presented in detail in section eight.


When you become familiar with reactivity, you are able to write the server part of you application. This is what we are going to do in the last section of the course. We will learn how to manipulate data in a Shiny environment (that is, in a reactive context), how to print text in the user interface, how to create and display an interactive table, how to build charts in shiny using the ggplot2 package.


At the end of this section, our app will be completely functional.


There is also a bonus section, where I shortly present a more complex app and explain a little bit how it works. This way you’ll realise better the possibilities and capabilities of the Shiny package.


Enrol today and start your journey to becoming a Shiny expert!

Goals

What will you learn in this course:

You will...


  • Know the basic components of a Shiny app
  • Understand the concepts of reactivity and reactive context
  • Create a layout for the user interface
  • Build input controls and output placeholders
  • Build output objects using the server function


Prerequisites

What are the prerequisites for this course?

Experience with the R program - basic level at least

R Shiny for absolute beginners

Curriculum

Check out the detailed breakdown of what’s inside the course

Getting Started
1 Lectures
  • play icon Introductory word 04:46 04:46
What Are We Going To Build?
1 Lectures
Tutorialspoint
Essential Concepts
2 Lectures
Tutorialspoint
Build a Layout
2 Lectures
Tutorialspoint
Input Controls
2 Lectures
Tutorialspoint
Output Placeholders
2 Lectures
Tutorialspoint
Generating Outputs
2 Lectures
Tutorialspoint
The Basics About Reactivity
4 Lectures
Tutorialspoint
Writing the Server Function
5 Lectures
Tutorialspoint
There is More to shiny than This
3 Lectures
Tutorialspoint
Documents and Files
4 Lectures
Tutorialspoint

Instructor Details

Bogdan Anastasiei

Bogdan Anastasiei

e


Course Certificate

Use your certificate to make a career change or to advance in your current career.

sample Tutorialspoint certificate

Our students work
with the Best

Related Video Courses

View More

Annual Membership

Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses

Subscribe now
Annual Membership

Online Certifications

Master prominent technologies at full length and become a valued certified professional.

Explore Now
Online Certifications

Talk to us

1800-202-0515