[R] Formating the data

A Ezhil ezhil02 at yahoo.com
Fri Jun 8 15:13:01 CEST 2007


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...



More information about the R-help mailing list