Skip to Content
Beginning Data Science in R 4: Data Analysis, Visualization, and Modelling for the Data Scientist
book

Beginning Data Science in R 4: Data Analysis, Visualization, and Modelling for the Data Scientist

by Thomas Mailund
June 2022
Beginner
528 pages
10h 39m
English
Apress
Content preview from Beginning Data Science in R 4: Data Analysis, Visualization, and Modelling for the Data Scientist
© Thomas Mailund 2022
T. MailundBeginning Data Science in R 4https://doi.org/10.1007/978-1-4842-8155-0_13

13. Building an R Package

Thomas Mailund1  
(1)
Aarhus, Denmark
 
Now we know how to write functions and create classes in R, but neither functions nor classes are the unit we use for collecting and distributing R code. That unit is the package. It is packages you load and import into your namespace when you write
library(something)
and it is packages you download when you write
install.packages("something")

The topic for this chapter is how to make your own packages. In the space available, I can only give a very broad overview of the structure of R packages, but it should be enough to get you started. If you want to read more, I warmly recommend Hadley ...

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

Beginning Data Science in R: Data Analysis, Visualization, and Modelling for the Data Scientist

Beginning Data Science in R: Data Analysis, Visualization, and Modelling for the Data Scientist

Thomas Mailund

Publisher Resources

ISBN: 9781484281550Purchase LinkPublisher Website