findFirstSimplaceInstallation: Search for simplace installation and returns first match

findFirstSimplaceInstallationR Documentation

Search for simplace installation and returns first match

Description

Checks directories if they contain simplace_core, simplace_modules and optionally simplace_run (or a data directory given by the user) and returns the first match. There is no check whether the installation is really working.

Usage

findFirstSimplaceInstallation(
  directories = c(),
  tryStandardDirs = TRUE,
  simulationsDir = "simplace_run",
  ignoreSimulationsDir = FALSE
)

Arguments

directories

a list of additional directories where to look -

tryStandardDirs

whether to check for typical installation directories (default)

simulationsDir

directory that contains user simulations (e.g. simplace_run)

ignoreSimulationsDir

don't check for the simulation dir

Details

Beside the checks for some standard directories (like home directory, current working dir and drives c: to g:) and their subdirectories (workspace, simplace, java/simplace) the user can give a vector of additional directories. Directories given by the user are checked first.

Value

matching directory/ies as character vector


simplace documentation built on Aug. 24, 2023, 3:03 p.m.