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.

______________________________________________
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