read.printfiles: Read gadget printfiles

View source: R/gadgetFileIO.R

read.printfilesR Documentation

Read gadget printfiles

Description

This function reads in the gadget output files defined in printfiles. This is a quick and dirty implementation that has been designed to read a few nice examples, so it may work for some instances and it may not. It assumes that the last line containing a comment ';' is the line describing the column names and is the last comment line.

Usage

read.printfiles(path = ".", suppress = FALSE)

Arguments

path

a character string with the name of the folder containing the printfiles

suppress

logical should warnings of missing files be suppressed

Value

a list containing the data that has been read in named after the files found in path.


gadget-framework/rgadget documentation built on July 20, 2022, 12:16 p.m.