Skip to Content
R Programming By Example
book

R Programming By Example

by Omar Trejo Navarro
December 2017
Beginner to intermediate
470 pages
12h 29m
English
Packt Publishing
Content preview from R Programming By Example

This chapter's required packages

This chapter will make use of the methods and R6 packages to load the S4 and R6 object models functionality. You should know that interactive R sessions load the methods by default, but non-interactive sessions don't, so you need to explicitly load it in such cases. The jsonlite and lubridate packages are brought to simplify some common tasks like getting data from JSON APIs and transforming dates. For more information, take a look at Appendix, Required Packages.

Package

Reason

R6

R6 object model

methods

S4 object model

lubridate

Easily transform dates

jsonlite

Retrieve data from JSON APIs

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Efficient R Programming

Efficient R Programming

Colin Gillespie, Robin Lovelace
R Programming

R Programming

Jared P. Lander

Publisher Resources

ISBN: 9781788292542Supplemental Content