Advanced R 4 Data Programming and the Cloud: Using Postgresql, Aws, and Shiny

Wiley, Matt, Wiley, Joshua F.

  • 出版商: Apress
  • 出版日期: 2020-07-17
  • 定價: $1,730
  • 售價: 9.5$1,644
  • 貴賓價: 9.0$1,557
  • 語言: 英文
  • 頁數: 433
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1484259726
  • ISBN-13: 9781484259726
  • 相關分類: Amazon Web ServicesPostgreSQLR 語言SQL
  • 立即出貨 (庫存=1)


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.


使用R進行數據分析的程式,並學習實用技巧以提高工作效率。這本修訂版的書籍探討了如何自動運行程式碼和創建報告以分享結果,以及編寫函數和套件。它包括了R 4的關鍵功能,例如用於圖表的新顏色調色板,增強的引用計數系統,以及矩陣和數組類型的正規化,其中矩陣對象現在正式繼承自數組類,消除了不一致性。

《Advanced R 4 Data Programming and the Cloud》不是設計來教授高級R編程或統計程序背後的理論。相反,它旨在成為一本實用指南,超越僅僅使用R;它向您展示如何在R中編程以自動化任務。

本書將教您如何在現代R結構中操作數據,包括將R連接到數據庫(如PostgreSQL)、雲服務(如Amazon Web Services)和數字儀表板(如Shiny)。每章還包括一個詳細的參考書目,其中包含涵蓋相關概念和理論主題的研究文章和其他資源。


- 使用R 4編寫和記錄R函數
- 創建R套件並通過GitHub或私下分享
- 將測試添加到R代碼中,以確保其按預期工作
- 使用R直接與數據庫交互並進行複雜的數據管理
- 在Amazon雲中運行R
- 部署Shiny數字儀表板
- 使用R生成演示用的表格和報告




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 to explore data or speed up analysis in JWileymisc.


Matt Wiley在Victoria College擔任機構效能、研究和評估的負責人,促進戰略和單位規劃、以數據為基礎的決策以及州/區域/聯邦的責任制。作為一位獲得終身職位的副教授,他在數學教育(加利福尼亞州)和學生參與度(德克薩斯州)方面獲得獎項。Matt在加利福尼亞大學和德克薩斯A&M系統獲得了計算機科學、商業和純數學學位。

在學術界之外,他與他人合著關於流行的R編程語言的書籍,並且在一家統計咨詢公司擔任管理合夥人近十年。他具有R、SQL、C ++、Ruby、Fortran和JavaScript的編程經驗。


Joshua F. Wiley是蒙納士大學Turner大腦和心理健康研究所和心理學科學學院的講師。他在加利福尼亞大學洛杉磯分校獲得博士學位,並完成了在初級保健和預防方面的博士後培訓。他的研究使用先進的定量方法來了解心理社會因素、睡眠和其他健康行為與心理和身體健康之間的動態關係。他開發或共同開發了多個R軟件包,包括varian,用於進行貝葉斯比例-位置結構方程模型的軟件包,MplusAutomation,將R與商業Mplus軟件相連接的熱門軟件包,用於更快的邏輯運算的extraoperators,用於診斷、效應大小和多層次/混合效應模型結果的multilevelTools,以及用於探索數據或加快分析速度的雜項函數JWileymisc。