Description Usage Arguments Value Examples
This function creates a new virtual environment and initializes the new virtual environment. In doing so, this function sets your python version and one may specify a specific python version. This is useful if you have multiple versions of python installed. When making a new virtual environment, if the python version isn't set, then your default one will be used.
1 | create_virtual_env(virtualenv, version = NULL, verbose = TRUE)
|
virtualenv |
Specify conda environment name |
version |
Set path to specific version of python. |
verbose |
TRUE or FALSE. When TRUE, shows python and conda configuration. Default: TRUE |
None
1 2 3 4 5 6 | ## Not run:
create_virtual_env(version = "/usr/bin/python3",
virtualenv = "r-reticulate",
verbose = TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.