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.


bthe/rgadget documentation built on July 22, 2022, 7:24 a.m.