powered by
Additional filters can be implemented based upon the input arguments.
This string is typically used in between pipes.
MakeFIFOs(file = "file1.txt.gz", FIFO = "/tmp/fifo1", path = ".", filterStr = " | cut -f2,3 -d\" \" --complement", mycat = "gunzip -cf ", verbose = 2)
filterStr = " | cut -f2,3 -d\" \" --complement", mycat = "gunzip -cf ",
verbose = 2)
Name of the file that contains the data to uncompress and filter on
Name of the FIFO to create
Directory to find the files in
various inline filters that act locally and do not need an input file,
effective cat command
level of verbosity
filter string
# NOT RUN { if (0){ MakeFIFOs(verbose=2) MakeFIFOs(filterStr=" | awk '$2 > 100 && $3 > 5' | cut -f2,3 -d\" \" --complement | head -n 10000 | sort -k1,1") } # }
Run the code above in your browser using DataLab