...Could not find function "Tool_exec"

472
2
06-11-2020 04:03 AM
JoshFlad
New Contributor

Hello GeoNet Community

I'm trying to run a script to derive individual tree crowns from lidar datasets. The script "recipe" is provided by the PA Department of Conservation & Natural Resources, Bureau of Forestry. I am new to R and the ArcGIS Pro and the ArcGIS R integration process however I've followed the instructions carefully. 

The script runs and R produces graphics resembling the desired outputs but then returns and error stating - could not find function "Tool_exec". I'm not sure how this is possible. I'm using Microsoft Open 3.5.3 and arcgisbinding package 1.0.1.239. 

Any advice would be greatly appreciated!  Thanks 

0 Kudos
2 Replies
PrajwolSubedi
New Contributor II

I am also getting the same issue. Did your problem get solved.

0 Kudos
JosiahParry
New Contributor II

Hey Josh, do you have more context that you can provide? There is not much that we can work off of. But one thing that I am aware of is that the function must be called `tool_exec()` and not Tool_exec(). 

Capitalization is really important here. 

0 Kudos