This may be a very basic question but I am not able to fo since last hour. I want to merge cells in each row using a comma or semicolon. The data looks like
OTU_1   23  15  273 51  127 190 220 83  k__Bacteria p__Chloroflexi  c__SJA-15   o__C10_SB1A f__C10_SB1A g__Candidatus Amarilinum    s__
The output would be like this
OTU_1;23;15;273;51;127;190;220;83;k__Bacteria;p__Chloroflexi;c__SJA-15;o__C10_SB1A;f__C10_SB1A;g__Candidatus Amarilinum;s__
Can you please guide how it can be done in R. I know how to use concatinate function but i am wondering if it can be done in R?
Thanks
 
     
    