The user interface

Finally, the user interface. Before bringing this topic into the world of R, we should distinguish between two different data mining projects:

  • The ones having a final user, its developer, and are usually developed to be use once just to obtain and share some kind of result
  • The ones developed to be recursively employed from some other end user, to obtain new results not defined from the developer, which can be seen as standalone software

Depending on which of the two data mining projects we are facing, the user interface will be a different one:

  • In the case of the first kind of project, we will face the user interface of our data mining engine and particularly of the IDE, we will be using to write and execute our scripts, like the ones introduced in the first chapter. In its most basic form, it could even be the safe and sound R interactive console.
  • In the case of projects developed to be recursively ployed from some other end user, the Shiny framework appears to be a really convenient choice to develop a proper user interface.

The shiny framework, in its most basic form, consists of a package providing R functions able to initialize HTML and Java-based web pages, taking input from the user further employed to run R code and transmit its output back to the user. The great advantage of this product is that it is completely R-based and does not require the developer to learn any other language to deploy its data mining software to the end user.

We will see more of this in Chapter 13Sharing Your Stories with Your Stakeholders through R Markdown, where we are talking about R markdown documents. 

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

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