View source: R/install_and_config.R
| install_aifeducation | R Documentation |
Function for installing 'aifeducation' on a machine.
Using a virtual environment (use_conda=FALSE)
If 'python' is already installed the installed version is used. In the case that
the required version of 'python' is different from the existing version the new
version is installed. In all other cases python will be installed on the system.
#' Using a conda environment (use_conda=TRUE)
If 'miniconda' is already existing on the machine no installation of 'miniconda'
is applied. In this case the system checks for update and updates 'miniconda' to
the newest version. If 'miniconda' is not found on the system it will be installed.
install_aifeducation(
install_aifeducation_studio = TRUE,
python_version = "3.12",
cuda_version = "12.9",
use_conda = FALSE
)
install_aifeducation_studio |
|
python_version |
|
cuda_version |
|
use_conda |
|
Function does nothing return. It installs python, optional R packages, and necessary 'python' packages on a machine.
On MAC OS torch will be installed without support for cuda.
Other Installation and Configuration:
check_aif_py_modules(),
get_recommended_py_versions(),
install_aifeducation_studio(),
install_py_modules(),
prepare_session(),
set_transformers_logger(),
update_aifeducation()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.