Displaying 1 result from an estimated 1 matches for "base_6_mod".
2006 Oct 13
2
loop, pipe connection, output objects
...s, which contain only entries in a certain code range, and whose name contain the code itself.
Here is my attempt
indice <- (201:399)
for(i in indice){
data.i <- read.table(pipe(paste("gawk '{if ($2 >=", i," && $2<", i+1,") print $2,$3}' < base_6_mod " , sep='')))
print(paste("code ...", i, " ... done"))
}
The problems are:
1- My sintax "data.i" does not work, and loop only produces a big "data.i" object. My goal, obviously was to have something like data.201, data.202, etc
(second ord...