Book description
Harness the power of RStudio to create web applications, R packages, markdown reports and pretty data visualizations
About This Book
- Discover the multi-functional use of RStudio to support your daily work with R code
- Learn to create stunning, meaningful, and interactive graphs and learn to embed them into easy communicable reports using multiple R packages
- Develop your own R packages and Shiny web apps to share your knowledge and collaborate with others.
Who This Book Is For
This book is aimed at R developers and analysts who wish to do R statistical development while taking advantage of RStudio's functionality to ease their development efforts. R programming experience is assumed as well as being comfortable with R's basic structures and a number of functions.
What You Will Learn
- Discover the RStudio IDE and details about the user interface
- Communicate your insights with R Markdown in static and interactive ways
- Learn how to use different graphic systems to visualize your data
- Build interactive web applications with the Shiny framework to present and share your results
- Understand the process of package development and assemble your own R packages
- Easily collaborate with other people on your projects by using Git and GitHub
- Manage the R environment for your organization with RStudio and Shiny server
- Apply your obtained knowledge about RStudio and R development to create a real-world dashboard solution
In Detail
RStudio helps you to manage small to large projects by giving you a multi-functional integrated development environment, combined with the power and flexibility of the R programming language, which is becoming the bridge language of data science for developers and analyst worldwide. Mastering the use of RStudio will help you to solve real-world data problems.
This book begins by guiding you through the installation of RStudio and explaining the user interface step by step. From there, the next logical step is to use this knowledge to improve your data analysis workflow. We will do this by building up our toolbox to create interactive reports and graphs or even web applications with Shiny. To collaborate with others, we will explore how to use Git and GitHub with RStudio and how to build your own packages to ensure top quality results. Finally, we put it all together in an interactive dashboard written with R.
Style and approach
An easy-to-follow guide full of hands-on examples to master RStudio.
Beginning from explaining the basics, each topic is explained with a lot of details for every feature.
Table of contents
-
Mastering RStudio – Develop, Communicate, and Collaborate with R
- Table of Contents
- Mastering RStudio – Develop, Communicate, and Collaborate with R
- Credits
- About the Authors
- About the Reviewer
- www.PacktPub.com
- Preface
-
1. The RStudio IDE – an Overview
-
Downloading and installing RStudio
- Installing R
- For Ubuntu
- Using RStudio with different versions of R
- Updating RStudio
- Getting to know the RStudio interface
- The four main panes
- The Source editor pane
- Syntax highlighting
- The Environment and History panes
- Console pane
- The Files, Plots, Packages, Help, and Viewer panes
- Customizing RStudio
- Using keyboard shortcuts
- Working with RStudio and projects
- Summary
-
Downloading and installing RStudio
-
2. Communicating Your Work with R Markdown
- The concept of reproducible research
- Doing reproducible research with R Markdown
- Getting started with R Markdown in RStudio
- The R Markdown interface
- Advanced R Markdown documents
- Summary
-
3. R Lesson I – Graphics System
- The graphic system in R
- The R graphics package—base
- Introducing the lattice package
- Introducing ggplot2
- Applying The Grammar of Graphics with ggplot2
- Using ggplot2
- Customizing your charts
- Interactive plotting systems
- Summary
-
4. Shiny – a Web-app Framework for R
- Introducing Shiny – the app framework
- The concept of reactivity
- Discovering the scope of the Shiny user interface
- Sharing your Shiny application with others
- Diving into the Shiny ecosystem
- Summary
- 5. Interactive Documents with R Markdown
- 6. Creating Professional Dashboards with R and Shiny
-
7. Package Development in RStudio
- Understanding R packages
- Installing devtools
- Building packages with RStudio
- Using Packrat with a project
- Writing the documentation for a package
- Understanding the namespaces of a package
- Building and checking a package
- Using roxygen2 for package documentation
- Testing a package
- Adding a dataset to a package
- Writing a package vignette with R markdown
- References for further information
- Summary
- 8. Collaborating with Git and GitHub
-
9. R for your Organization – Managing the RStudio Server
- Managing the RStudio Server
- Setting up R, RStudio, and the Shiny Server
- Summary
- 10. Extending RStudio and Your Knowledge of R
- Index
Product information
- Title: Mastering RStudio – Develop, Communicate, and Collaborate with R
- Author(s):
- Release date: December 2015
- Publisher(s): Packt Publishing
- ISBN: 9781783982547
You might also like
book
Dynamic Documents with R and knitr, 2nd Edition
Quickly and Easily Write Dynamic Documents Suitable for both beginners and advanced users, Dynamic Documents with …
book
RStudio for R Statistical Computing Cookbook
Over 50 practical and useful recipes to help you perform data analysis with R by unleashing …
book
R Data Mining
Mine valuable insights from your data using popular tools and techniques in R About This Book …
book
Advanced R: Data Programming and the Cloud
Program for data analysis using R and learn practical skills to make your work more efficient. …