useConda | R Documentation |
Retrieves or sets the Conda configuration of a SsimLibrary
. Note
that in order to use conda environments, you will first need to ensure that
the conda environment has been created for a given package. You can create
the conda environment for a package using the createCondaEnv
function.
useConda(ssimObject)
## S4 method for signature 'character'
useConda(ssimObject)
## S4 method for signature 'SsimLibrary'
useConda(ssimObject)
useConda(ssimObject) <- value
## S4 replacement method for signature 'logical'
useConda(ssimObject) <- value
## S4 replacement method for signature 'SsimLibrary'
useConda(ssimObject) <- value
ssimObject |
|
value |
logical for whether to use Conda
environments for the given SyncroSim Library. If set to
|
Logical: whether Conda environments will be used during runtime for the given
SsimLibrary
## Not run:
# Set up a SyncroSim Session, SsimLibrary
mySession <- session()
# Retrieve Conda configuration status of the SsimLibrary
useConda(myLibrary)
# Set the Conda configuration of the SyncroSim Library
useConda(myLibrary) <- TRUE
# Only use Conda with the specified SyncroSim packages
useConda(myLibrary) <- "helloworld"
# Only use Conda with multiple specified SyncroSim packages
useConda(myLibrary) <- c("helloworld", "stsim")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.