MEIO - Summer School - S4 Object-oriented programming and package creation in R

Títol del curs: S4 Object-oriented programming and package creation in R.

Codi del curs: 200C35

Impartit per: Christophe Genolini. UFR STAPS Université de Paris X-Nanterre et INSERM Unité 669 PSGIAM (Paris Sud Innovation Group in Adolescent Mental Health). genolini@u-paris10.fr

Llengua del curs: Anglès

Dates i horaris del curs: 5 a 9 de juliol de 10 a 13

Aula FME: PC1

Tipus d'activitat i càrrega lectiva: Curs de 15 hores

Reconeixement acadèmic: 2 ECTS com a assignatures optatives per als estudiants del MEIO UPC-UB, com a ALE per als de PRIMER I SEGON CICLE i com crèdits pel DOCTORAT.

Data de matrícula: Del 10 al 27 de juny 2010

Pla del curs:
  1. Introduction to Object Oriented Programming
    • What is object oriented programming (OOP). Why should one do OOP?
    • Formal definition.
    • Classes declaration.
    • Methods
    • Constructors
    • Accessors
  2. To go further
    • Methods using several arguments
    • Inheritance
    • Internal modification of an object
  3. Building a classical package
    • Configuring the computer.
    • The file tree
    • Function visibility (NAMESPACE)
    • Preparing documentation
    • Completion and building
  4. Building an Object Oriented Package
    • Review of previous points adapting them to OOP
    • To finish: How to write clean code.
  5. Hands-on
    • Every participant will create an object-oriented program and an object oriented package for this.