View source: R/runAFNICommand.R
runAFNICommand | R Documentation |
Wrapper for running an AFNI command safely within R
runAFNICommand(
args,
afnidir = NULL,
stdout = NULL,
stderr = NULL,
echo = TRUE,
...
)
args |
AFNI command string to be run |
afnidir |
Location of AFNI installation. If NULL, the function will serach the environment for AFNIDIF |
stdout |
File target for redirecting stdout. If NULL, stdout will not be captured |
stderr |
File target for redirecting stderr. If NULL, stderr will not be captured |
echo |
Whether to print AFNI command to the screen |
This command ensures that AFNI comamnds are in the system PATH
The exit status of the executed AFNI command. 0 for success, non-zero for failure
Michael Hallquist
## Not run:
runAFNICommand("3dcopy test_data copy_data")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.