add_file_header: Add header comments to the input files

View source: R/helper_fxns.R

add_file_headerR Documentation

Add header comments to the input files

Description

Lines starting with #C at the top of the file are carried over to the *.ss_new files by Stock Synthesis This function modifies any existing header to add or replace lines written by r4ss that state the write time of the file.

Usage

add_file_header(filelist, con)

Arguments

filelist

An object created by one of the r4ss::SS_read* functions.

con

File to write to (passed to con input to writeLines())

Author(s)

Yukio Takeuchi, Ian G. Taylor


r4ss/r4ss documentation built on March 29, 2025, 8:36 p.m.