Wrapper of system calls in which input and output are all table-like files
environment where to look for variables encoded in
whether print messages
This function (system + data frame) provides a convinient way to invoke
system calls in R. Since most of system calls expect tables as input and output,
systemdf does following things step by step:
use backtick to mark variables which are data frames or other variables which can be converted to data frames by
extract data frames
write data frames into temporary files
replace variables names with paths that correspond to temporary files
make the system call
finally send back the output by piping back to R
A simple example is as follows:
1 2 3
A data frame. If there is no line generated by the system call, the returned value is a three-column data frame with 0 row.
# There is no example NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.