gadgetprintfile: Create a gadgetprint object

View source: R/gadgetprint.R

gadgetprintfileR Documentation

Create a gadgetprint object

Description

Create a print file object, from fresh or an existing file.

Usage

gadgetprintfile(file_name, path, missingOkay = FALSE, recursive = TRUE)

Arguments

file_name

The name of the print file

path

The path to the gadget directory to read from

missingOkay

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

recursive

If TRUE, read all connected files recursively

Value

A list of print components representing file

Examples

## Not run: 
path <- './cod-model'
# Read 'print' print file, creating it if it doesn't exist
gadgetprintfile('print', path, missingOkay = TRUE)  

## End(Not run)

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