Find or run an external executable file
execute function is a wrapper around the
function in base, which additionally echoes the command being run (including
the full path to the executable) if the reportr output level is
locateExecutable simply returns the path to an
executable file on the system
1 2 3 4
Name of the executable to run.
A character vector giving the parameters to pass to the executable, if any. Elements will be separated by a space.
Logical value: should an error be produced if the executable can't be found?
Logical value: should the executable be run without any output?
Additional arguments to
execute, the return value of the underlying call to
locateExecutable, the location of the
requested executable, or
NULL if it could not be found.
These functions are designed for Unix systems and may not work on Windows.
Please cite the following reference when using TractoR in your work:
J.D. Clayden, S. Muñoz Maniega, A.J. Storkey, M.D. King, M.E. Bastin & C.A. Clark (2011). TractoR: Magnetic resonance imaging and tractography with R. Journal of Statistical Software 44(8):1-18. http://www.jstatsoft.org/v44/i08/.
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.