read.gadget.file: Read gadget input file, return gadgetfile S3 class...

Description Usage Arguments

View source: R/gadgetfile.R

Description

Read gadget input file, return gadgetfile S3 class representing file

Usage

1
2
read.gadget.file(path, file_name, file_type = "generic",
  fileEncoding = "UTF-8", missingOkay = FALSE, recursive = TRUE)

Arguments

path

Base directory to read file from

file_name

File name, or path relative to (path), to read

file_type

What sort of gadget file this is, e.g. 'time', 'area', ... See Rgadget::gadget_filetypes for recognised types

fileEncoding

Character encoding of file, defaults to "UTF-8"

missingOkay

If TRUE, return an empty gadgetfile object if file does not exist.

recursive

Read in all nested files too (default TRUE)?


bthe/rgadget documentation built on Sept. 22, 2018, 1:22 p.m.