I have an R script that uses the spatialEco package to create percent volume rasters. It works well as a stand-alone script but I would like to create a script tool in ArcGIS to use in ModelBuilder. The error I am getting seems related to the fact that the 'raster.vol' function needs to operate on a raster layer object but when I use the 'arc.open' function in my script, my raster opens as a :RasterDataset and arcgisbinding doesn't seem to have an inherited method to allow me to use the 'raster' function to convert the object to a raster layer.