read.gadget.file.Rd
Read gadget input file, return gadgetfile S3 class representing file
read.gadget.file(
path,
file_name,
file_type = "generic",
fileEncoding = "UTF-8",
missingOkay = FALSE,
recursive = TRUE
)
Base directory to read file from
File name, or path relative to (path), to read
What sort of gadget file this is, e.g. 'time', 'area', ...
See Rgadget::gadget_filetypes
for recognised types
Character encoding of file, defaults to "UTF-8"
If TRUE
, return an empty gadgetfile object if file does not exist.
Read in all nested files too (default TRUE)?