Example

Before we start building an application, let's load an example project to check that Shiny is installed and working correctly. The project provides various example projects—we will check the one called basic. Simply change to the examples/basic directory and run main.go:

Launching the basic Shiny example

After launching, you should see the following window and (as illustrated in the preceding) the output of all of the events triggered by the application. The size of the window may vary depending on the operating system you are running, due to driver default values:

A rather unconventional example application

As you can see, this example application is unlike the other toolkits we've explored. This represents the main focus of the Shiny project as primarily a technology demo.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.226.34.25