[R] Formating the data Hi All,

I have a vector of length 48, something like:
0 0 1 1 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

I would like to print (reformat) this vector as:
001100000000001111111111111111111111111111111111

by simply removing the spaces between them. I have
been trying with many option but not able to do this
task.
I would greatly appreciate your suggestion on fixing
this simple task.

Thanks in advance.

Kind regards,
Ezhil
 


 
____________________________________________________________________________________
Bored stiff? Loosen up...

______________________________________________
R-help@stat.math.ethz.ch 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.

