Learn R Programming

gorpiper (version 1.0.1)

get_gorpipe: get_gorpipe

Description

Generator function for gorpipe. Given a full path to the gorpipe executable, return a function that wraps gorpipe calls, returning a data.frame of the output data

Usage

get_gorpipe(path)

Arguments

path

full path to gorpipe, e.g. ~/gor-scripts/bin/gorpipe

Value

function(code) ->

Examples

Run this code
# NOT RUN {
gorpipe <- get_gorpipe("~/gor-scripts/bin/gorpipe")
gorpipe("norrows 21 | calc even mod(rownum, 2) | calc even_txt if(even==1,'yes','no')")
# }

Run the code above in your browser using DataLab