| python_ready | R Documentation |
Call this to manually set up Python and dependencies. The function checks if Python is available via the reticulate package, and if not, it creates a virtual environment and installs the specified Python modules.
python_ready(
modules = c("keras", "tensorflow", "numpy"),
envname = "r-reticulate"
)
modules |
Character vector of Python modules to check for and install if missing. |
envname |
Name of the virtual environment to use or create. Defaults to "r-reticulate". |
Invisibly returns TRUE if setup is complete.
## Not run:
python_ready(modules = c("keras", "tensorflow", "numpy"),
envname = "r-reticulate")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.