Erin Hodgess
2016-Feb-07 21:24 UTC
[R] Combining a character array into a character string
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 great day! Sincerely, Erin -- Erin Hodgess Associate Professor Department of Mathematical and Statistics University of Houston - Downtown mailto: erinm.hodgess at gmail.com [[alternative HTML version deleted]]
Erin Hodgess
2016-Feb-07 21:35 UTC
[R] Combining a character array into a character string
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 <erinm.hodgess at gmail.com> wrote:> 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 great day! > > Sincerely, > Erin > > > -- > Erin Hodgess > Associate Professor > Department of Mathematical and Statistics > University of Houston - Downtown > mailto: erinm.hodgess at gmail.com >-- Erin Hodgess Associate Professor Department of Mathematical and Statistics University of Houston - Downtown mailto: erinm.hodgess at gmail.com [[alternative HTML version deleted]]