setVariable {basilisk.utils} | R Documentation |
Set an environment variable safely, unsetting it if the supplied value is NA
.
setVariable(name, value)
name |
String containing the name of an environment variable. |
value |
String containing the value of an environment variable.
This can be |
String containing the value of the variable before running this function;
or NA
, if the variable was not set.
Aaron Lun