Dear all:

I am trying to build a data.frame from some vectors and some matrices
and seem to be unable to find out how to do this without converting
everything to factors.
I can prevent conversion of the vectors by using I(), as explained in
help(data.frame). However, this doesn't help with the matrices: if I try
I() with the matrix, the matrix gets incorporated into the data frame as
a whole, rather than as a list of vectors as it should be. ("as.is=T"
doesn't help either, and neither does "options(stringsAsFactors = FALSE)".)

Any help would be greatly appreciated!

Christian Gold

______________________________________________
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