On 19 June 2013 09:26:30 David Carlson wrote:
> variable.labels attribute returned
> by read.spss in package foreign? If so, you should try the
> attributes() or the attr() function:

Hi,


I used

attr(test,"variable.labels")[i][1]) and it worked.

Thanks

Lívio Cipriano

______________________________________________
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.

Reply via email to