Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

parseWinFile

Convert a Window Description File into a List Object


Description

Parse a window description file (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.

Author(s)

Alex Couture-Beil, Vancouver Island University, Nanaimo BC

See Also

Examples

## Not run: 
local(envir=.PBSmodEnv,expr={
  x <- parseWinFile(system.file("examples/LissFigWin.txt",package="PBSmodelling"))
  createWin(x)
})

## End(Not run)

PBSmodelling

GUI Tools Made Easy: Interact with Models and Explore Data

v2.68.8
GPL (>= 2)
Authors
Jon T. Schnute [aut], Alex Couture-Beil [aut], Rowan Haigh [aut, cre], Nicholas Boers [ctb], Anisa Egeli [ctb], A. R. Kronlund [ctb], Steve Martell [ctb], Norm Olsen [ctb]
Initial release
2019-03-12

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.