get_gorpipe: get_gorpipe

View source: R/gor_pipe.R

get_gorpipeR Documentation

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) -> data.frame

Examples

## 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')")

## End(Not run)

wuxi-nextcode/gorr documentation built on Jan. 1, 2023, 7:54 a.m.