> 2) Make the vector a list. I don't know if there are side-Effects to
> this, but perhaps it's just the anxiety of a Java-Programmer who isn't
> used to the somewhat easy-going way R deals with classes:
>        class(dataf2) <- "list"

Indeed, there are _many_ side effects to this and you really should
read up on the differences, but this really is a bad idea in general.
To make it _very_ short, (atomic = regular) vector is a regular array
while a list is an associative array.

Cheers,
Michael

______________________________________________
[email protected] 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