Displaying 1 result from an estimated 1 matches for "tp3258449p3258449".
2011 Feb 03
2
substring and paste character with a for loop
...rseq ){
m <- paste(substring(text,i,i+2),sep = "")
}
> m
[1] "ddd"
m should be "aaabbbcccddd" and not just "ddd"
with best regards
Chris
--
View this message in context: http://r.789695.n4.nabble.com/substring-and-paste-character-with-a-for-loop-tp3258449p3258449.html
Sent from the R help mailing list archive at Nabble.com.