Package building in R: good practices, compilation, interface with C…

Títol del curs: Package building in R: good practices, compilation, interface with C…

Impartit per:

Christophe Genolini. UMR U1027, INSERM, Université Paul Sabatier / Toulouse III / France i CeRSME, EA 2931, UFR STAPS, Université de Paris Ouest-Nanterre-La Défense / Nanterre / France



Llengua del curs: Anglès

Dates i horaris del curs: 27 de juny de 11 a 13, 28 i 29 de juny de 9 a 13h.

Lloc: aula PC3

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

Data de matrícula: del 15 al 25 de maig

Reconeixement acadèmic: 1.5 crèdits

Course objective:
Being able to build your own package, using proper writing and optimal compiled code.

Course schedule (8h)

  • Good programming practice
    • Code architecture
    • Naming conventions
    • Documenting
    • Programming tricks
  • Package building in R
    • Preparing your computer
    • File tree
    • DESCRIPTION and NAMESPACE
    • Documenting functions, data and classes
    • Generating your package
  • R interface with other languages
    • Interface functions
    • Writing C code
    • Compilation

Examination (2h)

  • Writing your own package (homework)