install_arcpy | R Documentation |
Create a Conda environment with the "arcpy" module.
install_arcpy(
method = "conda",
conda = "auto",
version = NULL,
envname = "r-arcpy",
extra_packages = NULL,
restart_session = TRUE,
python_version = NULL,
channel = "esri",
forge = TRUE,
...,
new_env = identical(envname, "r-arcpy")
)
method |
Installation method. By default, "auto" automatically finds a method that will work in the local environment. Change the default to force a specific installation method. Note that the "virtualenv" method is not available on Windows. |
conda |
The path to a |
version |
Arcpy version to install. Note that the requested arcpy version must match your ArcGIS Pro version. |
envname |
The name, or full path, of the environment in which Python
packages are to be installed. When |
extra_packages |
Additional Python packages to install along with arcpy. |
restart_session |
Restart R session after installing (note this will only occur within RStudio). |
python_version |
Pass a string like "3.9" to request that
conda install a specific Python version. Note that the Python
version must be compatible with the requested arcpy version. If
|
channel |
An optional character vector of conda channels to include.
When specified, the |
forge |
Boolean; include the conda-forge repository? |
... |
other arguments passed to |
new_env |
If |
The Conda environment must be configured to match the ArcGIS Pro version currently installed. If ArcGIS Pro is updated, the Conda environment must be recreated.
(Invisible) TRUE
if the Conda environment was created
successfully.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.