execute
function is a wrapper around the system
function in base R, which echoes the command being run (including the full path to the executable) if the reportr output level is Debug
. locateExecutable
simply returns the path to an executable file on the system PATH
.execute(executable, paramString = NULL, errorOnFail = TRUE, silent = FALSE, ...)
locateExecutable(fileName, errorIfMissing = TRUE)
system
.execute
, the return value of the underlying call to system
. For locateExecutable
, the location of the requested executable, or NULL
if it could not be found.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.
system