[R] Error in FUN(X[[1L]], ...) : STRING_ELT() can only be applied to a 'character vector', not a 'integer'

sedm1000 gdoran at mit.edu
Mon May 24 02:36:24 CEST 2010


Thanks for your time with this. Erik's solution works best to deal with the
input... I'll try to reshape the output back into the appropriate columns.

David, fold(sq$s1) only outputs the result for the first sequence in the
list I'm afraid. The 'fold' function doesn't deal well with spaces...

Thanks again.


-- 
View this message in context: http://r.789695.n4.nabble.com/Error-in-FUN-X-1L-STRING-ELT-can-only-be-applied-to-a-character-vector-not-a-integer-tp2226811p2228157.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list