Web Application Development with R Using Shiny Год: 2013 Автор: Chris Beeley Издательство: Packt Publishing ISBN: 978-1-78328-447-4 Язык: Английский Формат: PDF/EPUB Качество: Изначально компьютерное (eBook) Интерактивное оглавление: Да Количество страниц: 110 Описание: In Detail R is a highly flexible and powerful tool for analyzing and visualizing data. Shiny is the perfect companion to R, making it quick and simple to share analysis and graphics from R that users can interact with and query over the Web. Let Shiny do the hard work and spend your time generating content and styling, not writing code to handle user inputs. Web Application Development with R Using Shiny is an accessible introduction to sharing interactive content from R using Shiny. You will learn by doing, with each chapter including code and examples to use and adapt for your own applications. By the end of this book, you will be able to build useful and engaging web applications with only a few lines of code – no JavaScript required. Web Application Development with R Using Shiny will show you how to begin analyzing, visualizing, and sharing your data using practical examples. This book will teach you how to rapidly prototype and build interactive data summaries using Shiny's built-in widgets and functions. You will learn how to integrate Shiny applications with your existing HTML and CSS, how to greatly extend the power and usability of your applications using JavaScript, and how to quickly deploy them over the Web. The book uses practical examples to show you how to get the best out of R and Shiny, helping you to produce and share cutting-edge analytics with minimal effort. Approach This book follows a standard tutorial-based approach which will teach you how to make a web app using R and Shiny quickly and easily. Who this book is for This book is for anybody who wants to produce interactive data summaries over the Web, whether you want to share them with a few colleagues or the whole world. You need no previous experience with R, Shiny, HTML, or CSS to begin using this book, although you will need at least a little previous experience with programming in a different language.
Примеры страниц
Оглавление
Preface Chapter 1: Installing R and Shiny and Getting Started! Installing R The R console Code editors and IDEs Simple and well-featured Complex and extensible Learning R Getting help Loading data Dataframes, lists, arrays, and matrices Variable types Functions Objects Base graphics and ggplot2 Bar chart Line chart Installing Shiny and running the examples Chapter 2: Building Your First Application Program structure ui.R of minimal example server.R of minimal example Optional exercise Widget types Google Analytics application The UI Data processing Reactive objects Outputs A note on the application code Optional exercise Chapter 3: Building Your Own Web Pages with Shiny Running the applications and code Shiny and HTML Custom HTML links in Shiny ui.R server.R server.R – data preparation server.R – server definition Minimal HTML interface index.html server.R JavaScript and Shiny ui.R server.R jQuery index.html – body server.R jQuery Exercise Chapter 4: Taking Control of Reactivity, Inputs, and Outputs Showing and hiding elements of the UI Giving names to tabPanel elements Reactive user interfaces Reactive user interface example – server.R Reactive user interface example – ui.R Advanced reactivity Using reactive objects and functions efficiently Controlling the whole interface with the submitButton() function Controlling specific inputs with the isolate() function Running reactive functions over time More advanced topics in Shiny Finely controlling inputs and outputs Reading client information and GET requests in Shiny Custom interfaces from GET strings Animation Advanced graphics options Downloading graphics Downloading and uploading data Chapter 5: Running and Sharing Your Creations Sharing with the R community Sharing over GitHub Introduction to Git Sharing applications using Git Sharing using .zip and .tar Sharing with the world Glimmer Shiny Server Browser compatibility Index
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum