Skip to content
This repository was archived by the owner on Feb 13, 2024. It is now read-only.

DataProgrammers/2015-01-15-EMBLHeidelberg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

689400b · Jan 16, 2015
Jan 14, 2015
Jan 16, 2015
Jan 9, 2015
Jan 9, 2015
Jan 9, 2015
Jan 10, 2015
Jan 15, 2015
Jan 14, 2015
Jan 10, 2015
Jan 16, 2015

Repository files navigation

Advanced Course: R programming and development

Setup

A laptop with a recent R (>= 3.1.1), including developer tools (for Windows, this means Rtools). See here for installation details.

To test your R installation, try the following

## If you don't have devtools
install.packages("devtools")

library("devtools")
install_github("lgatto/sequences")

If you do not have any favourite editor, have a go with Rstudio.

Programme

Day 1

When What
Setup and welcome LG
09:15 - 10:30 OO Introduction RS
Break
11:00 - 12:30 S3/S4 object-oriented programming RS
Lunch
13:30 - 15:30 Package development RS
Break
16:00 - 17:30 Advanced issues in package development and documentation RS

To see a full implementation of the OO and package development material, see the sequences package (also on CRAN).

Day 2

Additional packages

install.packages(c("RUnit", "microbenchmark"))

library("BiocInstaller")
## if BiocInstaller is not installed
source("http://www.bioconductor.org/biocLite.R")
biocLite("BiocParallel")

install.packages("shiny")

## rauthoring dependencies
biocLite(c("knitr", "rmarkdown", "markdown", "ReportingTools", "DESeq2"))

library("devtools")
install_github("lgatto/rauthoring")
When What
09:15 - 10:40 Testing, Unit testing and debugging LG
Break
11:00 - 12:30 Benchmarking, profiling and optimisation and calling C/C++ code LG
Lunch
13:30 - 15:30 Vectorisation, functional programming and parallelisation (src) LG
Break
15:50 - 17:30 R authoring and building web interfaces: shiny (vignettes in the rauthoring package) LG
Wrap up all

Useful refs

About

R programming and development (EMBL, Jan 2015)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published