Thanks, that worked great, but I am having trouble generalizing it to my
entire data set for some reason.
I have 318 rows like this:
Main Group\t1000\tMP Test\tMP Test, 1\tAudio (1, f1-qaddara.aiff)\tl
(target is right word)\tl\tPressed\tl (target is right
word)\tC\t3111\t\t\t\t\t
and the
Hi:
Maybe something like this?
txt - Main Group\t1000\tMP Test\tMP Test, 1\tAudio (1, f1-qaddara.aiff)\tl
(target is right word)\tl\tPressed\tl (target is right
word)\tC\t3111\t\t\t\t\t
txtdf - as.data.frame(rbind(txt, txt, txt, txt, txt)) # create toy data
frame
res -
Would somebody please help me break this row:
Main Group\t1000\tMP Test\tMP Test, 1\tAudio (1, f1-qaddara.aiff)\tl
(target is right word)\tl\tPressed\tl (target is right
word)\tC\t3111\t\t\t\t\t
into multiple columns along the \t separator?
When I try the strsplit (x,\t) command I get:
[[1]]
If you want a matrix, then just create one from the data you have:
mydata - matrix(strsplit(x, '\t')[[1]], nrow=1)
On Thu, Jun 3, 2010 at 1:30 PM, Kevin Burnham kburn...@gmail.com wrote:
Would somebody please help me break this row:
Main Group\t1000\tMP Test\tMP Test, 1\tAudio (1,
4 matches
Mail list logo