[R] wait, t(sapply()) does not work

Remko Duursma den.duurs at lycos.com
Wed Apr 16 20:34:30 CEST 2003


I just noticed that the code

data.frame(t(sapply(tester.L, function(x) x <- x[1,])))

does not result in a nice dataframe, although is.data.frame gives TRUE. It works on the small example in the previous emails, but something weird happens for a larger dataset.

remko



More information about the R-help mailing list