Learn R Programming

arcgisbinding (version 1.0.1.229)

arc.check_product: ArcGIS product and license information

Description

Initialize connection to ArcGIS. Any script running directly from R (i.e. without being called from a Geoprocessing script) should first call arc.check_product to create a connection with ArcGIS. Provides installation details on the version of ArcGIS installed that arcgisbinding is communicating with.

Usage

arc.check_product()

Arguments

Details

Returned details include:

  • Product: ArcGIS Desktop (i.e. ArcMap), or ArcGIS Pro. The name of the product connected.

  • License level: Basic, Standard, or Advanced are the three licensing levels available. Each provides progressively more functionality within the software. See the "Desktop Functionality Matrix" link for details.

  • Build number: The build number of the release being used. Useful in debugging and when creating error reports.

  • DLL: The dynamic linked library (DLL) in use allowing ArcGIS to communicate with R.

References

ArcGIS Desktop Functionality Matrix

Examples

Run this code
# NOT RUN {
info <- arc.check_product()
info$license # ArcGIS license level
info$version # ArcGIS build number
info$app # product name
info$dll # binding DLL in use
# }

Run the code above in your browser using DataLab