parseWinFile {PBSmodelling}R Documentation

Convert a Window Description File into a List Object

Description

Parse a Window Description (markup) File into the list format expected by createWin().

Usage

parseWinFile(fname, astext=FALSE)

Arguments

fname file name of the Window Description File.
astext if TRUE, fname is interpreted as a vector of strings, with each element representing a line of code in a Window Description File.

Value

A list representing a parsed Window Description File that can be directly passed to createWin.

Note

All widgets are forced into a 1-column by N-row grid.

See Also

createWin, compileDescription

Examples

## Not run: 
x<-parseWinFile(system.file("examples/LissFigWin.txt",package="PBSmodelling"))
createWin(x)
## End(Not run)

[Package PBSmodelling version 1.18 Index]