R object-oriented programming and package development Prerequisites
The course will present intermediate to advanced R programming using the object-oriented programming paradigm. It will cover how to document code and data to produce a fully functional R package. Further information is available here.
The Course Web Site providing links to the course materials is here.
Please note that if you are not eligible for a University of Cambridge Raven account you will need to Book register Interest by linking here.
- Graduate students, Postdocs and Staff members from the University of Cambridge, Affiliated Institutions and other external Institutions or individuals
- Further details regarding eligibility criteria are available here
- Further details regarding the charging policy are available here
- Only attending Bioinformatics: Introduction to R would not provide sufficient background for this course
- A substantial period of active programming experience in R will be assumed
- Familiarity with object-oriented programming and Latex would be an advantage, but not essential
Number of sessions: 1
# | Date | Time | Venue | Trainers | |
---|---|---|---|---|---|
1 | Tue 31 Mar 2015 09:30 - 17:30 | 09:30 - 17:30 | Bioinformatics Training Room, Craik-Marshall Building | map | Robert Stojnic, Laurent Gatto |
- Introduction: what is object-oriented programming; description of the working example; R programming best practices: tips and tricks, environments, coding standards
- R object-oriented programming: the S3 and S4 OO systems
- Documentation: documenting functions, methods and data, providing executable examples; documentation using Roxygen; executing R code inside Latex document (Vignettes)
- Writing R packages: minimum package structure; combining the written classes/generics/methods and documentation to create a package; building, checking and installing packages
- Other advanced R programming topics: testing code, unit testing; profiling and debugging; calling C code inside R
- To help users advance their R programming skills to be able to begin writing object-oriented code and/or developing R packages
Presentation and demonstrations
1
A number of times per year
Booking / availability