Skip to main content
Taylor & Francis Group Logo
Advanced Search

Click here to search books using title name,author name and keywords.

  • Login
  • Hi, User  
    • Your Account
    • Logout
Advanced Search

Click here to search books using title name,author name and keywords.

Breadcrumbs Section. Click here to navigate to respective pages.

Book

No Image Available

Book

Advanced R Solutions

DOI link for Advanced R Solutions

Advanced R Solutions book

Advanced R Solutions

DOI link for Advanced R Solutions

Advanced R Solutions book

ByMalte Grosser, Henning Bumann, Hadley Wickham
Edition 1st Edition
First Published 2021
eBook Published 26 July 2021
Pub. Location New York
Imprint Chapman and Hall/CRC
Pages 304
eBook ISBN 9781003175414
Subjects Mathematics & Statistics
Share
Share

Get Citation

Grosser, M., Bumann, H., & Wickham, H. (2021). Advanced R Solutions (1st ed.). Chapman and Hall/CRC. https://doi.org/10.1201/9781003175414

ABSTRACT

"I learned a lot working through their solutions — it's a great way to broaden and deepen your understanding of R. (I should probably go through it again...)"
- Greg Wilson, RStudio

This book offers solutions to all 284 exercises in Advanced R, Second Edition. All the solutions have been carefully documented and made to be as clear and accessible as possible. Working through the exercises and their solutions will give you a deeper understanding of a variety of programming challenges, many of which are relevant to everyday work. This will expand your set of tools on a technical and conceptual level. You will be able to transfer many of the specific programming schemes directly and will discover far more elegant solutions to everyday problems.

Features:

  • When R creates copies, and how it affects memory usage and code performance
  • Everything you could ever want to know about functions
  • The differences between calling and exiting handlers
  • How to employ functional programming to solve modular tasks
  • The motivation, mechanics, usage, and limitations of R's highly pragmatic S3 OO system
  • The R6 OO system, which is more like OO programming in other languages
  • The rules that R uses to parse and evaluate expressions
  • How to use metaprogramming to generate HTML or LaTeX with elegant R code
  • How to identify and resolve performance bottlenecks

 

TABLE OF CONTENTS

Part I Foundations
2. Names and values
3. Vectors
4. Subsetting
5. Control Flow
6. Functions
7. Environments
8. Conditions

Part II Funtional Programming
9. Functionals
10. Function Factories
11. Function Operators

Part III Object oriented programming
13. S3
14. R6
15. S4

Part IV Metaprogramming
18. Expressions
19. Quasiquotation
20. Evaluation
21. Translating R Code

Part V Techniques
23. Measuring Performance
24. Improving Performance
25. Rewriting R code in C++

T&F logoTaylor & Francis Group logo
  • Policies
    • Privacy Policy
    • Terms & Conditions
    • Cookie Policy
    • Privacy Policy
    • Terms & Conditions
    • Cookie Policy
  • Journals
    • Taylor & Francis Online
    • CogentOA
    • Taylor & Francis Online
    • CogentOA
  • Corporate
    • Taylor & Francis Group
    • Taylor & Francis Group
    • Taylor & Francis Group
    • Taylor & Francis Group
  • Help & Contact
    • Students/Researchers
    • Librarians/Institutions
    • Students/Researchers
    • Librarians/Institutions
  • Connect with us

Connect with us

Registered in England & Wales No. 3099067
5 Howick Place | London | SW1P 1WG © 2021 Informa UK Limited