Skip to main content
  • Book
  • © 2020

Advanced R 4 Data Programming and the Cloud

Using PostgreSQL, AWS, and Shiny

Apress
  • Demonstrates how to set up and run R 4.0 in the cloud
  • Shows how to leverage applied R 4.0 programming to make analyses more efficient
  • Covers how to generate dynamic reports and tables showcasing results of analyses

Buy it now

Buying options

eBook USD 54.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (15 chapters)

  1. Front Matter

    Pages i-xiii
  2. Programming Basics

    • Matt Wiley, Joshua F. Wiley
    Pages 1-26
  3. Programming Utilities

    • Matt Wiley, Joshua F. Wiley
    Pages 27-43
  4. Programming Automation

    • Matt Wiley, Joshua F. Wiley
    Pages 45-64
  5. Writing Functions

    • Matt Wiley, Joshua F. Wiley
    Pages 65-92
  6. Writing Classes and Methods

    • Matt Wiley, Joshua F. Wiley
    Pages 93-127
  7. Writing Packages

    • Matt Wiley, Joshua F. Wiley
    Pages 129-180
  8. Introduction to data.table

    • Matt Wiley, Joshua F. Wiley
    Pages 181-220
  9. Advanced data.table

    • Matt Wiley, Joshua F. Wiley
    Pages 221-249
  10. Other Data Management Packages

    • Matt Wiley, Joshua F. Wiley
    Pages 251-280
  11. Reading Big Data

    • Matt Wiley, Joshua F. Wiley
    Pages 281-308
  12. Getting Your Cloud

    • Matt Wiley, Joshua F. Wiley
    Pages 309-325
  13. Cloud Ubuntu for Windows Users

    • Matt Wiley, Joshua F. Wiley
    Pages 327-355
  14. Every Cloud Has a Shiny Lining

    • Matt Wiley, Joshua F. Wiley
    Pages 357-376
  15. Shiny Dashboard Sampler

    • Matt Wiley, Joshua F. Wiley
    Pages 377-396
  16. Dynamic Reports

    • Matt Wiley, Joshua F. Wiley
    Pages 397-420
  17. Back Matter

    Pages 421-433

About this book

Program for data analysis using R and learn practical skills to make your work more efficient. This revised book explores how to automate running code and the creation of reports to share your results, as well as writing functions and packages. It includes key R 4 features such as a new color palette for charts, an enhanced reference counting system, and normalization of matrix and array types where matrix objects now formally inherit from the array class, eliminating inconsistencies.


Advanced R 4 Data Programming and the Cloud is not designed to teach advanced R programming nor to teach the theory behind statistical procedures. Rather, it is designed to be a practical guide moving beyond merely using R; it shows you how to program in R to automate tasks. 


This book will teach you how to manipulate data in modern R structures and includes connecting R to databases such as PostgreSQL, cloud services such as Amazon Web Services (AWS), and digital dashboards such as Shiny. Each chapter also includes a detailed bibliography with references to research articles and other resources that cover relevant conceptual and theoretical topics.



What You Will Learn


  • Write and document R functions using R 4
  • Make an R package and share it via GitHub or privately
  • Add tests to R code to ensure it works as intended
  • Use R to talk directly to databases and do complex data management
  • Run R in the Amazon cloud
  • Deploy a Shiny digital dashboard
  • Generate presentation-ready tables and reports using R

Who This Book Is For



Working professionals, researchers, and students who are familiar with R and basic statistical techniques such as linear regression and who want to learn how to take their R coding and programming to the next level.

Authors and Affiliations

  • Victoria College, Victoria, USA

    Matt Wiley

  • Monash University, Melbourne, Australia

    Joshua F. Wiley

About the authors

Matt Wiley leads institutional effectiveness, research, and assessment at Victoria College, facilitating strategic and unit planning, data-informed decision making, and state/regional/federal accountability. As a tenured, associate professor of mathematics, he won awards in both mathematics education (California) and student engagement (Texas). Matt earned degrees in computer science, business, and pure mathematics from the University of California and Texas A&M systems.

Outside academia, he co-authors books about the popular R programming language and was managing partner of a statistical consultancy for almost a decade. He has programming experience with R, SQL, C++, Ruby, Fortran, and JavaScript.

A programmer, a published author, a mathematician, and a transformational leader, Matt has always melded his passion for writing with his joy of logical problem solving and data science. From the boardroom to the classroom, he enjoys finding dynamic ways to partner with interdisciplinary and diverse teams to make complex ideas and projects understandable and solvable.

Joshua F. Wiley is a lecturer in the Turner Institute for Brain and Mental Health and School of Psychological Sciences at Monash University. He earned his PhD from the University of California, Los Angeles and completed his post-doctoral training in primary care and prevention. His research uses advanced quantitative methods to understand the dynamics between psychosocial factors, sleep and other health behaviours in relation to psychological and physical health. He develops or co-develops a number of R packages including varian, a package to conduct Bayesian scale-location structural equation models, MplusAutomation, a popular package that links R to the commercial Mplus software, extraoperators for faster logical operations, multilevelTools for diagnostics, effect sizes, and easy display of multilevel / mixed effects models results, and miscellaneous functions toexplore data or speed up analysis in JWileymisc.

Bibliographic Information

Buy it now

Buying options

eBook USD 54.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access