[R] A question

Ron_M ron_michael70 at yahoo.com
Wed Jan 20 05:17:03 CET 2010


Hi all, I have a expression like that :

> rep(2,4)
[1] 2 2 2 2

Now I want to write it as "2222" through some automated way. Is there is
function for doing that? I have tested with paste(), but count not get any
desired result.

Thanks,
-- 
View this message in context: http://n4.nabble.com/A-question-tp1018144p1018144.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list