We give a shorter proof of Rips' theorem saying that a finitely
generated group acting freely on an R-tree is a free product of
free abelian groups and surface groups. For this, we study the dynamical
properties of finite sets of partial isometries of R.