Dear Community: Thank you Michael, I did it as you said. However I still have a little problem with this staff.
I try my lm's in my df1's variables. Let's say: lm1 <- lm( df1$vi) ~ df1$v1 + df1$v2) Then I usally type: plot(lm1, 1:4) I'd like to see in the plots obtained the name of the rownames of df1 instead of the id that R automatically assign (I see 1, 2, 3, .... instead of the rownames of my dataframe) How can I see the rownames in the plots? u...@host.com -- View this message in context: http://r.789695.n4.nabble.com/how-to-keep-row-name-if-there-is-only-one-row-selected-from-a-data-frame-tp895594p4118563.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.