Skip to content
Housing Stock Energy Hub edited this page Nov 13, 2019 · 3 revisions

First Evaluation

This process is contained in the file __MainWorkflows.R which must be run after a fresh installation in order to verify libraries and relative paths.

Simulating a single dwelling archetype

In CLI mode, the following call evaluates one single archetype, defined by its position (row) in the survey data.

In Windows, Rscript.exe is required. Alternatively, if using git-bash, an alias may be created to remove the extension.

 Rscript --vanilla myScript/_Workflows/Run_sh_s_Single.R 1

See more details on the file.

Simulating a chosen number of elements chosen from survey data

In CLI mode, the following call evaluates the sequence from 1 to 20

 Rscript --vanilla myScript/_Workflows/Run_sh_s_Multi.R 1 20

An alternative method to call R from a shell is

 R CMD BATCH myScript/_Workflows/Run_sh_s_Multi.R 1 20

See more details on the file.


--vanilla is an alias for

 --no-save --no-restore --no-site-file --no-init-file --no-environ