-
Unable to install ArcGIS R integration package via ArcPro for R 4.6.0
I'm currently taking the esri learning course "Introduction to the R-ArcGIS Bridge". I've reached the step when it describes how to install the ArcGIS R integration package, but it doesn't seem to work for me. When I click "Install Package from the internet" I get the warning below. I've also attempted installing the…
-
R Shiny Compatibility with AGOL
Question for ESRI I came across the following ESRI blog article and got excited seeing the mention of Shiny apps. I really like doing data analysis and then creating a front end customizable web app interface using R Shiny. With these new enhancements from ESRI, is it possible to publish or host from R studio an R Shiny…
-
ArcGIS Toolbox fails to find embedded R script if file extension is uppercase
I have noticed that ArcGIS Pro will fail to find an embedded R geoprocessing tool script if the script file ends in an uppercase R. For example, ArcPro will find the tool script if the file name is "tool.script.execute.r", but will fail to find the tool if the file name is "tool.script.execute.R". Is this a bug/oversight,…
-
Authentication Error When Accessing Living Atlas Layers in R Using arcgisutils and arcgislayers Packages
I am performing spatial data analysis within R Studio using datasets stored in our ArcGIS Enterprise. To access these datasets, I am using the arcgisutils and arcgislayers packages, and I've set up an authenticator application in our enterprise portal which allows me to connect to our portal in R Studio using user…
-
geocode_addresses() does not reference enterprise geocode server when directed to
Am using a simple script to geocode a dataframe of addresses in R using my organization's enterprise geocoding server, but am getting an error indicating that my request is being directed to the default ArcGIS World Geocode Server and the request fails. Code is below, and was working as recently as this past March. I am…
-
Best Practices for Connecting to Enterprise Portal in R?
I work in an organization with many R users and comparatively few ArcGIS users. We manage our GIS data within an enterprise, and we have an enterprise agreement to manage licensing. We would like to take advantage of the arcgis meta-package to give our R users access to data and locator services hosted in our enterprise…
-
arcgisbinding unable to verify valid ArcGIS Pro installation on R version 4.5.0 with RStudio
I have R version 4.5.0 and Rstudio 2024.12.1 version installed. I have installed arcgisbinding library using the most recent version (arcgisbinding_1.0.1.311.zip) from https://r.esri.com/bin/. When using Rstudio, I am get this error when running arc.check_product() : Error: Could not bind to a valid ArcGIS Pro installation…
-
Importing (standalone) R graphics into ArcGIS Portal/Dashboard?
Hello. I frequently create (standalone) graphics and animations using R. The files extensions of these graphics/animations when saved is usually html or gif. Can these be loaded onto an ArcGIS dashboard? I tried copy and pasting HTML code from an interactive R figure under "Source", but the dashboard did not allow me to…
-
CRAN location for arcgisbinding_1.0.0.232?
Hi R-ArcGIS Community, As a government department worker, my IT department requires arcgisbinding_1.0.0.232 to be available on CRAN to whitelist the package. Can someone advise on the Esri's approach for updating a official CRAN pages?
-
Using the R-Arc GIS Bridge on Posit's Shiny Server
Hello community, I'm a new member and new the R bridge in general. I just installed the packages in R and the dependencies worried me. What I want to do is use the bridge in a Shiny app hosted on our Posit subscription. Has anyone tried to use use the bridge this way? What were the pitfalls you ran into and how did you…
-
Connect to AGOL credentials while in Posit Connect or other remote server
I've got an enterprise SAML account with AGOL and sign in to ArcGIS Pro using my Microsoft 365 credentials, using the URL "https://mnrf.maps.arcgis.com/". My organization forces me to re-sign in about once a week. As part of my job, I need to run R scripts (usually quarto documents) regularly, sometimes 2-3 times a day, to…
-
R and ArcGIS Apps
I am brand new to R code and its connection to ArcGIS. We are looking to update our forecasting tool for freight. The consultant is looking to use R to code the app. This information will feed into an existing Hub site. Is it possible to embed an R-coded app into Hub? Is it possible to build app using ArcGIS online that…
-
Can a published R-ArcGIS based tool import packages?
Has anyone successfully run an R-based script tool on an Enterprise server -- that imports the sf package? Or even the stats package. I’m having this issue when trying to run an R-based script tool as a published geoprocessing service. I’m using ArcGIS 3.2.1, R 4.3.3, and ArcGIS Enterprise 11.2. * I created a R script that…
-
Arcgisbinding - receiving fatal error when trying to load data
I have been working through the Using the R-ArcGIS Bridge training in the ESRI catalog and I'm encountering a few issues: I just installed R, so I have R 4.3.1 and the latest version of ArcGIS Pro: But when I try to run the code from the training in the application, I'm receiving a fatal error and then the program crashes.…
-
arcgisbinding loading issue
When I attempt to load arcgisbinding, I receive the error shown below. I'm running R 4.3.0 and ArcGIS Pro 3.1.1. I removed reinstalled arcgisbinding via " install.packages("arcgisbinding", repos="https://r.esri.com", type="win.binary")", but it did not make a difference. Any help would be greatly appreciated! Error:…
-
Cannot install arcgisbinding since updating to R 4.3
I was using arcgisbinding before updating to R 4.3 and ArcGIS Pro 3.1, but since updating I cannot get it to re-install. Running the Install R bindings tool from ArcPro gives this error: Warning: unable to access index for repository https://r.esri.com/bin/windows/contrib/4.3: cannot open URL…
-
Recurring issues with basic arc.write() function in R: "Unknown Error"
Hi all, I've been using R to perform some spatial analyses on point and polygon data, and wish to export my products to a local .gdb as feature layers. My data types i'm attempting to write are sf class of spatial objects (as part of Simple Features package) and basic data frames. I'm having some recurring issues using the…
-
Problem with mkl-service / NumPy installation
I am trying to work with the reticulate and arcgisbinding packages in R (version 4.2.3), but am receiving the following error message when I try to import arcpy: I'm not sure what the problem is, since numpy is already listed as installed in the ArcGIS Pro package manager. Please let me know how I can fix this issue.…
-
R CMD Check Fails for arcgisbinding
Hello, I'm developing a small package in R (4.2.2) to help with joining together the ArcGIS initialization and `arcpy` environment setup in R and have trouble getting R-CMD-Check to pass on GitHub without error: Error: ! error in pak subprocess Caused by error: ! Could not solve package dependencies: * deps::.: Can't…
-
R arcgisbinding
Hi all, I am trying to develop my first atbx tool using an R script. I can easily manage something like this : tool_exec <- function(in_params, out_params) { in_data <- in_params[[1]] plot.new() text(0.5,0.5,in_data) return(out_params) } But if I insert a library(dplyr) command it crashes with this error (it's the same for…
-
Has anyone tried to integrate R with ArcGIS Dashboard?
We're looking at utilizing some R capabilities that aren't supported with out-of-the-box widgets from Dashboard. Is this possible? We've seen it's possible with WAB, but we also still want to use the existing dashboard capabilities. Thanks, Patricia
-
datetime data changes when saving my data using arc.write
Hi, I pulled data that I collected using Survey123 from the cloud by using the R-bridge; I needed to perform quality control for some attributes. During my QC, the datetime field was not touched. Now, I am using arc.write to save my final product in a feature class on a local GDB, but then I note that while the dates are…
-
"Failed to load notebook" when using custom environment
I've set up a cloned custom Python environment in ArcPro 3.0.2 to set up the r-arcgisbridge package. Cloning the environment and installing the package work ok, but when opening a notebook, I get an error, "Failed to load notebook". If I switch back to the default environment I can load a notebook ok. Any advice on how to…
-
arcgisbinding in RStudio, fatal error after update
Hello everybody, I realize this is very similar in subject line to a post from three years ago but I found that several days ago and still cannot get to fixed. I recently updated to the most recent version of ArcGIS Pro (3.0.2) and now whenever I try to use arcgisbinding R crashes immediately. The package loads and…
-
Using ESRI Living Atlas in R Environment
Hi, I am working with weather data and want to use USA Weather Watches and Warnings from ESRI Living Atlas in an RStudio. The issue is that I can't figure out how to get into the data in the feature class. Any help in how to use this in R will be greatly appreciated. Thank you #Library library(arcgisbinding)…