Re: [R] Combining a character array into a character string

2016-02-07 Thread Erin Hodgess
Back again. I ran the paste with collapse and it worked this time. Spooky. Sorry for the trouble. Erin On Sun, Feb 7, 2016 at 3:24 PM, Erin Hodgess wrote: > Hello everyone! > > I'm sure this is very simple and that I'm just having "forest and trees" > syndrome. > > I have the following chara

[R] Combining a character array into a character string

2016-02-07 Thread Erin Hodgess
Hello everyone! I'm sure this is very simple and that I'm just having "forest and trees" syndrome. I have the following character array: > xxy [1] "A" "G" "C" "G" "T" I want to end up with "AGCGT:" I've tried paste, paste0, gsub, no good. Any suggestions much appreciated. Thanks and have a g