Re: [R] Parsing question, partly comma separated partly underscore separated string

2011-03-08 Thread Gabor Grothendieck
On Mon, Mar 7, 2011 at 10:45 PM, Eric Fail wrote: > Thanks to Gabor Grothendieck and Dennis Murphy I can now solve first > part of my problem and already impress my colleagues with the > R-program below (I know it could be written in a smarter way, but I am > learning). It reads my partly comma se

Re: [R] Parsing question, partly comma separated partly underscore separated string

2011-03-07 Thread Eric Fail
Thanks to Gabor Grothendieck and Dennis Murphy I can now solve first part of my problem and already impress my colleagues with the R-program below (I know it could be written in a smarter way, but I am learning). It reads my partly comma separated partly underscore separated string and cleans it up

Re: [R] Parsing question, partly comma separated partly underscore separated string

2011-03-07 Thread Gabor Grothendieck
On Sun, Mar 6, 2011 at 10:13 PM, Eric Fail wrote: > Dear R-list, > > I have a partly comma separated partly underscore separated string that I am > trying to parse into R. > > Furthermore I have a bunch of them, and they are quite long. I have now spent > most of my Sunday trying to figure this

Re: [R] Parsing question, partly comma separated partly underscore separated string

2011-03-06 Thread Dennis Murphy
Hi: This should get you most of the way there; I'll let you figure out how to assign the BLOCK and RUN numbers. tx <- "Subject ID,ExperimentName,2010-04-23,32:34:23,Version 0.4, 640 by 960 pixels, On Device M, M, 3.2.4, zz_373_462_488_...@9z.svg,592,820,3.35,zz_032_288_436_...@9z.svg ,332,878,3.

Re: [R] Parsing question, partly comma separated partly underscore separated string

2011-03-06 Thread Don McKenzie
On 6-Mar-11, at 7:13 PM, Eric Fail wrote: Dear R-list, I have a partly comma separated partly underscore separated string that I am trying to parse into R. Furthermore I have a bunch of them, and they are quite long. I have now spent most of my Sunday trying to figure this out and thought

[R] Parsing question, partly comma separated partly underscore separated string

2011-03-06 Thread Eric Fail
Dear R-list, I have a partly comma separated partly underscore separated string that I am trying to parse into R. Furthermore I have a bunch of them, and they are quite long. I have now spent most of my Sunday trying to figure this out and thought I would try the list to see if someone here wo