Description Usage Arguments Methods Author(s) Examples
Methods that act on the “auxiliary file” character string in the NIfTI or Analyze header.
1 2 3 4 |
object |
is an object of class |
Extract or replace Analyze auxiliary file.
Extract or replace NIfTI auxiliary file.
Brandon Whitcher bwhitcher@gmail.com
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## Not run:
url <- "http://nifti.nimh.nih.gov/nifti-1/data/avg152T1_RL_nifti.nii.gz"
urlfile <- file.path(system.file("nifti", package="oro.nifti"),
"mniRL.nii.gz")
download.file(url, urlfile, quiet=TRUE)
## End(Not run)
options("niftiAuditTrail"=FALSE)
urlfile <- file.path(system.file("nifti", package="oro.nifti"),
"mniRL.nii.gz")
mniRL <- readNIfTI(urlfile)
aux.file(mniRL)
aux.file(mniRL) <- "avg152T1_RL_nifti"
aux.file(mniRL)
|
oro.nifti 0.9.1
Warning messages:
1: In download.file(url, urlfile, quiet = TRUE) :
URL http://nifti.nimh.nih.gov/nifti-1/data/avg152T1_RL_nifti.nii.gz: cannot open destfile '/usr/lib/R/site-library/oro.nifti/nifti/mniRL.nii.gz', reason 'Permission denied'
2: In download.file(url, urlfile, quiet = TRUE) :
download had nonzero exit status
[1] "none "
[1] "avg152T1_RL_nifti"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.