Page 15 - Demo
P. 15
Interface to R%uf09f%uf09fRCPConsult2021-2025Page 1511.Generation of a Run ScriptIf some module of STRUREL performs a calculation, it operates with three states of analysis: Deterministic Solution (StrurelMode=0), Intermediate States (StrurelMode=1) and final Stochastic Solution (StrurelMode=2). An additional Run Script, covering all steps of analysis in terms of Rengine, can be created. Together with a Rscript, containing definition of the state function, this comprises a bundle of two files which can be executed independently of STRUREL software on any computer platform (Windows, Linuxor macOS) that supports the Rengine. To activate generation of Run Script use Resultscategory in Preferencesdialog box of STRUREL module.If a generation of Run Script is activated, two kinds of script can be produced. For external interface script with definition of state function, for example: Stone.r, a script with name: run$Stone.rwill be created on a run event. If the state function definition is a direct expression, then a script with name: run$expressionN.rwill be generated, where N is some sequential number. The bundle of run$Stone.rand Stone.rscripts or the single script run$expressionN.rcontains all data of the analysis and can be executed from command line or in terminal mode independly of STRUREL software. For example in Windows environment you can use commands: Rscript\or Rscript\correspondingly.Attention: in the unlicensed version of RInterface creation of data for Intermediate Statesis disabled.