To perform a repeated measures analysis in R you can use a variety of helpful tools. There are a number of additions to deducer that help in this
> install.packages("DeducerRichOutput", repos="http://R-Forge.R-project.org", type="source")
> install.packages("DeducerReshape", repos="http://R-Forge.R-project.org", type="source")
> install.packages('ez')
> install.packages('Hmisc')
> library(DeducerANOVA)
> library(DeducerReshape)
> install.packages(c("DeducerExtras","DeducerPlugInExample","DeducerPlugInScaling","DeducerSpatial","DeducerSurvival","DeducerText","deducorrect"))