Learn R Programming

spectrino (version 2.0.0)

spnOpenTree: Open a spec-tree in the top tab/spec-tree

Description

Open a spec-tree in the active tab from TFilename. The spec-tree file (.str) always is saved with the preprocessing options. If there is no active tab opened Spectrino will create one for you (as in spnAddTree()). To create new spec-tree you have to either open spec-tree with non-existant filename or empty current one by spnDelGrp("*") and save the empty one under new name.

Usage

spnOpenTree(TFilename,InclOpt)

Arguments

TFilename

- character string. The extension (*.STR) is not a must. All the filenames or directories must be with forward slashes e.g. D:/Spectrino/Data/Test.str. "<test>" string generates test example

InclOpt

- integer (0,1,2); InclOpt rules where the preprocessing options will be taken from. If InclOpt = 0 then factory setting (no preprocessing) is used; 1 is for last used one; if 2 - the options are taken from TFilename

Value

spnOpenTree returns the number of groups in the new spec-tree. spnGetGrpCount

See Also

spnOpenSpc , spnOpenGrp , spnSaveTree

Examples

Run this code
# NOT RUN {
# Initialization of Spectrino
spnNew() 

# generate test set
spnOpenTree("<test>")

# Release of Spectrino
#spnFree(TRUE)
# }

Run the code above in your browser using DataLab