| install_apsimng | R Documentation |
This function installs the ApsimNG simulation software on the local system. It handles the download and installation process for the APSIM Next Generation agricultural modeling platform.
install_apsimng(
repo = "https://github.com/APSIMInitiative/ApsimX.git",
branch = "master",
install_dir = "apsimx_build",
overwrite = FALSE
)
repo |
Character string specifying the repository of ApsimNG to install. |
branch |
Character string specifying the branch of the repository to install. |
install_dir |
Character string specifying the directory where ApsimNG should be installed. |
overwrite |
Logical. If TRUE, overwrites any existing installation at the specified install directory. |
This function downloads and installs ApsimNG from the official repository. It performs version checking, handles dependencies, and configures the installation for use with R. The function requires administrative privileges on Windows systems.
No return value.
## Not run:
# Install latest version
install_apsimng()
install_apsimng(install_dir = "C:/MyPrograms/ApsimNG")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.