if (FALSE) {
# Define the name of the virtual environment in your virtual_root directory
envpath <- file.path(reticulate::virtualenv_root(), "iRfcb")
# Install the iRfcb Python venv in your virtual_root directory
ifcb_py_install(envname = envpath)
# Install the iRfcb Python environment with additional packages
ifcb_py_install(envname = envpath, packages = c("numpy", "plotly"))
# Use system Python instead of a virtual environment
ifcb_py_install(envname = envpath, use_venv = FALSE)
}
Run the code above in your browser using DataLab