View source: R/freeVariables.R
findReadDataFuns | R Documentation |
With no arguments, each of these functions either return a fixed set of known functions that read data or write data or create a file for a graphics device. One can also pass the source of function definitions, e.g., a named list of functions, a character vector of R file names, a directory containing R files, an environment, etc. and the functions analyze those functions to see if they call any of the the foundatinal functions and if so, include those wrapper functions in the return value.
findReadDataFuns(funs, ..., primitiveFuns = getReadDataFuns(...))
findWriteDataFuns(funs, ..., primitiveFuns = getOutputDataFuns(...))
funs |
the source of function definitions. This can be the name of a directory, a file, a named list of functions, an environment containing functions. |
... |
character strings naming additional primitive functions. Functions that contain a call to any of these are considered matches. |
primitiveFuns |
the character vector providing the names of the primitive functions. |
findReadDataFuns
is quite general and can be readily repurposed
by specifying a different vector for primitiveFuns
to find functions that call any of these different functions.
a character vector
Duncan Temple Lang
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.