Displaying 1 result from an estimated 1 matches for "myfile_4".
Did you mean:
myfile_r
2009 Mar 30
1
Retrieving the context
...myfile","
")[[1]] -> mystring
#Now, store in a data.frame
> mydf <- data.frame(strings=mystring,
word_id=paste("myfile",1:length(mystring),sep="_"))
> mydf
strings word_id
1 This myfile_1
2 is myfile_2
3 a myfile_3
4 text myfile_4
5 string, myfile_5
6 wich myfile_6
7 is myfile_7
8 stored myfile_8
9 in myfile_9
10 the myfile_10
11 file myfile_11
12 myfile myfile_12
Now, I would like to see all the words 'is' in a user defined window: so
see_context("is",mydf,1) would give
Thi...