Re: [R] splitting a vector on comma

2008-05-05 Thread Henrique Dallazuanna
Try: scan(textConnection(u), sep=",") On Mon, May 5, 2008 at 12:59 AM, Georg Ehret <[EMAIL PROTECTED]> wrote: > 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,160

Re: [R] splitting a vector on comma

2008-05-04 Thread David Scott
?strsplit On Sun, 4 May 2008, Georg Ehret wrote: 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!

[R] splitting a vector on comma

2008-05-04 Thread Georg Ehret
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. *