If you have: Name Value A 2 A 3 A 4 B 5 B 6 B 7 In R how do you assign one value to the name: A:9 B:18 -- View this message in context: http://r.789695.n4.nabble.com/for-loop-help-tp2539621p2539621.html Sent from the R help mailing list archive at Nabble.com.