Description Usage Details Value Examples
Get the path to the GAMS system directory being used for testing. This is the
GAMS installation directory where the GDX libraries and GAMS
compiler/interpreter will be loaded from. It therefore determines which GAMS
version is used for testing. The GAMS system directory can be set with
set_sys_dir()
.
1 |
When no system directory is set yet, this function will try to get and set a
default system directory from an environment variable, first R_GAMS_SYSDIR
,
and if not available via PATH
(on Windows) or LD_LIBRARY_PATH
(on Linux).
If no such default is available either, this function throws an error.
Path to the in-use GAMS system directory.
1 | sys_dir <- get_sys_dir()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.