Hi, Hans Ekbrand wrote (19.2.2008): > I tried the following small code snippet which I copied from the > > "Introduction to R": > > for (i in 2:length(meriter)) { table(meriter[[1]], meriter[[i]]) } Try: for (i in 2:length(meriter)) { print(table(meriter[[1]], meriter[[i]])) } Kind regards, Kimmo