Hello List, I want to extract the names of a data.frame into a list for passing on to listing in aggregate eg names(df)[-1]->varnames names(df)[1]->resvar aggregate(resvar,by=list("list of varnames"),length) I am unsuccessfull in translating varnames into the "list of varnames" using paste,c,cat etc Anyone able to help? Thanks Herry -------------------------------------------- Alexander Herr - Herry [[alternate HTML version deleted]]