Displaying 2 results from an estimated 2 matches for "tpressed".
Did you mean:
pressed
2010 May 31
2
Ignoring initial rows in a text file import
...imuli were
presented in random order). So I need to bring in the .txt file (using
readLines?), look for the row containing the text "Begin Main" (see exact
row below) and start reading data to a table from that point.
[13] "Main Group\t1000\tBegin Main\tBegin Main\tBegin Main\t\t
\tPressed\t(any response)\tC\t25860\t\t\t\t\t"
I would also like it to ignore the row:
[173] "Main Group\t1000\tBreak\tBreak\
tpause3\t\t \tPressed\t(any response)\tC\t47610\t\t\t\t\t"
which will always be the same number of rows after the "Begin Main" row.
Thanks,
Kevin Burnham...
2010 Jun 03
1
split a row into multiple columns
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]]
[1] "Main Group" "1000" "MP
Test" "MP Test...