Description Constructor Author(s) Examples
The BasiliskEnvironment class provides a simple structure
containing all of the information to construct a basilisk environment.
It is used by basiliskStart
to perform lazy installation.
BasiliskEnvironment(envname, pkgname, packages)
will return a BasiliskEnvironment object, given:
envname
, string containing the name of the environment.
Environment names starting with an underscore are reserved for internal use.
pkgname
, string containing the name of the package that owns the environment.
packages
, character vector containing the names of the required Python packages from conda,
see setupBasiliskEnv
for requirements.
channels
, character vector specifying the Conda channels to search.
pip
, character vector containing names of additional Python packages from PyPi,
see setupBasiliskEnv
for requirements.
Aaron lun
1 2 | BasiliskEnvironment("my_env1", "AaronPackage",
packages=c("scikit-learn=0.22.0", "pandas=0.24.1"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.