upipe: Pipe through system shell

Description Usage Arguments Details

Description

upipe is a modification to system designed for piping data out of R, into the shell, and returning back to an R analysis pipeline

Usage

1
2
3
upipe(input, command, show_stderr = interactive(), ...)

input %>% upipe(command)

Arguments

input

a character string to send to the shell. Elements will be separated by newlines.

command

a system command to take input as stdin

show_stderr

print stderr of the command to the console as a message?

arguments

to specific methods.

Details

upipe's default method coerces input to character before sending it to the system command. Other methods are specific to the data object. Currently the only implemented method is upipe.data.frame, which converts data frames to CSV format before piping them.


noamross/upipe documentation built on May 23, 2019, 9:31 p.m.