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.hodg...@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.hodg...@gmail.com > -- Erin Hodgess Associate Professor Department of Mathematical and Statistics University of Houston - Downtown mailto: erinm.hodg...@gmail.com [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.