[R] splitting a vector on comma

From: Georg Ehret <georgehret_at_gmail.com>
Date: Sun, 04 May 2008 23:59:17 -0400


Dear R Usergroup,

         I have the following vector and I would like to split it on ",". How can I do this?
> u

[1]
"160798191,160802762,160813395,160816017,160817873,160824082,160825247,160826925,160834272,160836257,"

Thank you in advance!
With my best regards, Georg.



Georg Ehret
Baltimore
USA         [[alternative HTML version deleted]]


R-help_at_r-project.org mailing list
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. Received on Mon 05 May 2008 - 04:05:26 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 05 May 2008 - 13:30:34 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive