[R] Combining a character array into a character string
Erin Hodgess
erinm.hodgess at gmail.com
Sun Feb 7 22:35:05 CET 2016
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]]
More information about the R-help
mailing list