Learn R Programming

R4dfp (version 0.2-4)

R4dfp.Close: Close a 4dfp MRI Image.

Description

Closes a loaded 4dfp MRI image.

Usage

R4dfp.Close(object,save=FALSE)

Arguments

object
Object of class ‘R4dfp’.
save
Optionally, specify save=TRUE to save before closing (only if direct.read and direct.write weren't used.)

Value

Object of class ‘R4dfp’.

Details

Closes the specified 4dfp image and deallocates its resources. This will invalidate the ‘R4dfp’ provided.

See Also

R4dfp.Load R4dfp.Save R4dfp.Copy R4dfp.Recycle

Examples

Run this code
#create a new image and close it
myimage <- R4dfp.Blank333("myimage.4dfp.ifh")
myimage <- R4dfp.Close(myimage,save=TRUE)

Run the code above in your browser using DataLab