Thanks to visit codestin.com
Credit goes to github.com

Skip to content
hadley edited this page May 12, 2011 · 50 revisions

Advanced R development

(Making reproducible code)

Introduction (outline)
Vocabulary (draft)

R fundamentals

In the following pages I try and explain how fundamental R components work, taking the R language definition and making it easier to understand with plenty of examples to illustrate each idea. These tools are important because they allow to identify and reduce duplication in a wider variety of settings.

These sections are designed to be a primer for the more technical descriptions available in the R language definition and software for data analysis.

Package development

Packages are the fundamental unit of reproducible R code. They include reusable R functions, the documentation that describes how to use them, and sample data. In this section you'll learn how to turn your code into packages that others can easily download and use. Writing a package can seem overwhelming at first, but start with the basics and then improve it over time. It doesn't matter if your first version isn't perfect as long as the next version is better.

The canonical reference for package development will always be writing R extensions - these pages attempt to expand on the more important points and discuss more of the why and what of best practices.

Making R packages, a presentation to HACASA and the Houston R users group: http://www.slideshare.net/hadley/r-packages

Miscellaneous

Clone this wiki locally