Actions of finitely generated groups on R-trees