Description Usage Arguments Value Author(s) Examples
View source: R/rpygeo_reticulate.R
Initialises the Python ArcPy site-package in R via the
reticulate
package. Addtionally environment settings and extensions
are configured.
1 2 3 |
path |
Full path to folder containing Python version which is linked to
the ArcPy site-package. If left empty, the function looks
for |
overwrite |
If |
extensions |
Optional character vector listing ArcGIS extension that should be enabled (does not work while using ArcGIS API for Python) |
x64 |
Logical (default: |
pro |
Logical (default: |
arcgisAPI |
Logical (default: |
workspace |
Path of ArcGIS workspace in which to perform the geoprocessing (does not work while using ArcGIS API for Python). |
scratch_workspace |
Path to ArcGIS scratch workspace in which to store
temporary files (does not work while using ArcGIS API for Python). If
|
Returns ArcPy or ArcGIS modules in R
Fabian Polakowski, Marc Becker
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
# Load ArcPy side-package of ArcGIS Pro with 3D and Spatial Analysis extension.
# Set environment setting 'overwrite' to TRUE.
# Note that no path parameter is necessary because Python is located in the
# default location.
arcpy <- rpygeo_build_env(overwrite = TRUE,
extensions = c("3d", "Spatial"),
pro = TRUE)
## End(Not run)
# Load the ArcPy module when your Python version is located in a different
# folder
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.