NA / 5
We will cover the following tasks in 56 minutes:
In this chapter, we will take a look at the elaborate tic-tac-toe guide we will build while learning about the various layout schemes possible in R Shiny.
In this chapter, we will add a Navigation bar on the top of our application page. The easy-to-use navigation bar in Shiny helps divide the application neatly into multiple pages.
Adding Image, Tabs
Images are a great way to add visual appeal into our applications. In this chapter, we will learn how to add images to our app. We will also see how to divide a page in our app into multiple tabs.
Copying a text file
A common use-case in creating applications is when we have to display a long text on our interface. Typing the entire text into code makes the code messy and difficult to manage. In this chapter, we will learn how to read long texts from txt files and display directly on our application without putting any text in the code.
In the previous chapters, we learnt how to use Shiny’s readily available lay out schemes like the side bar layout and navigation menu and tabs. In this chapter, we will apply a more customized approach. We will learn how to convert the user interface into grids of varying sizes and convert them into dedicated containers for our application components.
While we have already seen the wonders of render functions in previous courses in this series, in this chapter we will learn a trick of using an action button to trigger reactivity inside render function.
In this chapter, we will review all the layout concepts applied in this session. We will recap adding images and text from text files into our app. By comparing and contrasting different layout schemes, discussing tips and tricks to enhance the layout of our apps, and recapping the application we created, this chapter enable us to create interesting and insightful applications ourselves!