replaceSection.BaseFile: Replaces a section in a BASE file structure

Description Usage Arguments Value Author(s) See Also

Description

Replaces a section in a BASE file structure.

Usage

1
2
## S3 method for class 'BaseFile'
replaceSection(this, oldSection, newSection, append=FALSE, ...)

Arguments

oldSection

The BaseFileSection to be removed.

newSection

The BaseFileSection to replace the old one.

append

A logical. If oldSection is not found, should newSection be appended anyway?

...

Not used.

Value

Returns (invisibly) TRUE if section was replaced, otherwise FALSE.

Author(s)

Henrik Bengtsson (http://www.braju.com/R/)

See Also

For more information see BaseFile.


HenrikBengtsson/aroma.Base documentation built on May 7, 2019, 1:51 a.m.