Description Usage Arguments Value See Also Examples
Connect to the ArcGIS Python environment.
1 | connect_ArcGIS(python_folder, Pro = FALSE, quietly = TRUE)
|
python_folder |
The Python installation folder created by ArcGIS. If missing, the function will attempt to automatically detect an appropriate Python installation. |
Pro |
Logical: If True, attempt to connect to an ArcGIS Pro Python distribution. Otherwise, attempt to connect to an ArcGIS Desktop Python distribution. |
quietly |
Logical: Suppress messages and warnings. |
No return value.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## Not run:
# Try to autodetect
connect_ArcGIS()
# connect to the 32-bit ArcGIS Desktop 10.2 Python environment
connect_ArcGIS("C:/Python27/ArcGIS10.2")
# connect to the 64-bit ArcGIS Desktop 10.2 Python environment
connect_ArcGIS("C:/Python27/ArcGISx6410.2")
# connect to the ArcGIS Pro 1.3 Python environment
connect_ArcGIS("C:/Program Files/ArcGIS/Pro/bin/Python/envs/arcgispro-py3",
Pro = TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.