Slides
And a visit from Jude Hays
R and GMM
There are a number of packages for estimating GMM models in R. pgmm
does many of the most basic models, though Stata is the industry leader in this. That said, there is a relatively new and highly customizable package for this: pdynmc
which is described here in a pdf vignette. The package is rather new; the paper is forthcoming.