Web Seminar: XL-MINER Forecasting. Tune in on October 25 at 1 p.m. and learn how to control
the forecasting process, eliminate waste and get better results. Register...
R/S System: Advanced Programming
This advanced course is designed for people who use R or S-Plus in their day-to-day work and want to maximize the efficiency of their programs. Participants will learn in depth advanced programming techniques that are available in R and S-Plus. This course will improve your general strategies and extend your programming skills.
Benefits
This two-day course will introduce participants to many programming techniques and tools. In addition a special session dedicated to making S-Plus functions more efficient will focus on "fast objects" and "fast functions". The advanced programming techniques include object orientation, classes, inheritance and methods
Course Topics
Day 1
Overview of R/S fundamentals: Syntax and Semantics
Class and Inheritance
Concepts, Construction and good use of Language Objects
Coercion and Efficiency
Object-oriented Programming in R and S-Plus
Taking advantage of fast objects and fast functions
Advanced Manipulation tools: Parse, Deparse, Substitute, etc.
How to fully take advantage of Vectorization
Generic and Method Functions; S4 (S-Plus 6), etc.
Search path, Databases and Frames Visibility (S-plus)
Day 2
Working with Large Objects
Handling Properly Recursion and Iterative Calculations
Managing loops; For (S-Plus) and for() loops
Consequences of Lazy Evaluation
Efficient Code Practices for Large Computations
Memory Management and Resource Monitoring
Writing R and S-plus Functions to call Compiled Code
Writing and Debugging Compiled Code for S-plus and R system
Connecting R to External Data Sources
Macros in R
Understanding the Structure of Model fitting Functions in R and S-plus
Designing and Packaging Efficiently a new model Function
Course Format
This course consists of a series of short lectures with demonstrations and interactive sessions for the participants. Each student is provided with bound copies of the notes and a CD-ROM containing all example and exercises used on the course.
Duration and Prerequisites
Duration: 2 days
Before attending this course, you should have working knowledge of R or Splus.