[R] Remove comma (,) in data set
Muhammad Subianto
subianto at cs.uu.nl
Tue Sep 30 18:51:52 CEST 2003
Dear R-helper,
I am new learning R. Now, I have a data set like:
24,2,3,3,1,1,2,3,0,1
45,1,3,10,1,1,3,4,0,1
43,2,3,7,1,1,3,4,0,1
42,3,2,9,1,1,3,3,0,1
36,3,3,8,1,1,3,2,0,1
19,4,4,0,1,1,3,3,0,1
38,2,3,6,1,1,3,2,0,1
21,3,3,1,1,0,3,2,0,1
27,2,3,3,1,1,3,4,0,1
45,1,1,8,1,1,2,2,1,1
... with 3730 rows
I want to remove comma (,) in data set. The result like:
24 2 3 3 1 1 2 3 0 1
45 1 3 10 1 1 3 4 0 1
43 2 3 7 1 1 3 4 0 1
42 3 2 9 1 1 3 3 0 1
36 3 3 8 1 1 3 2 0 1
19 4 4 0 1 1 3 3 0 1
38 2 3 6 1 1 3 2 0 1
21 3 3 1 1 0 3 2 0 1
27 2 3 3 1 1 3 4 0 1
45 1 1 8 1 1 2 2 1 1
...
How can I do it. Thanks you for your help.
Best regards,
Muhammad Subianto
More information about the R-help
mailing list