[R] change attributes of all data.frame elements

Jarrod Hadfield j.hadfield at ed.ac.uk
Fri Feb 20 17:12:53 CET 2009


I was wondering whether there was an easy way to change the attributes  
of all elements in a data.frame (rather than looping through elements)?

Specifically, I would like to set the "dim" attributes to NULL

Thanks for any help,


The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

More information about the R-help mailing list