MakeFIFOs {MultiJoin}R Documentation

creates named Unix pipes, which gzipped files can be streamed to for e.g. further joins

Description

Additional filters can be implemented based upon the input arguments.

This string is typically used in between pipes.

Usage

MakeFIFOs(file = "file1.txt.gz", FIFO = "/tmp/fifo1", path = ".", 


    filterStr = " | cut -f2,3 -d\" \" --complement", mycat = "gunzip -cf ", 


    verbose = 2)

Arguments

file

Name of the file that contains the data to uncompress and filter on

FIFO

Name of the FIFO to create

path

Directory to find the files in

filterStr

various inline filters that act locally and do not need an input file,

mycat

effective cat command

verbose

level of verbosity

Value

filter string

Author(s)

"Markus Loecher, Berlin School of Economics and Law (BSEL)" <markus.loecher@gmail.com>

Examples



if (0){


  MakeFIFOs(verbose=2)


  MakeFIFOs(filterStr=" | awk '$2 > 100 && $3 > 5' | 


          cut -f2,3 -d\" \" --complement | head -n 10000 | sort -k1,1")


}



[Package MultiJoin version 0.1.1 Index]