r-bridge: arc.portal_connect() crashes

Describe the bug The bug crashes R.exe when running arc.portal_connect(). Thought it might be a Rstudio bug but is isolated to R.exe. Right now the work around is to open Arc* software and sign in but would be nice to be able to do this in R (enhancement?). Thanks.

To Reproduce Steps to reproduce the behavior:

  1. Run arc.portal_connect() function.
  2. Crash R studio.

Screenshots If applicable, add screenshots to help explain your problem.

arcgisbinding info (please complete the following information):

> arc.check_product()
product: ArcGIS Pro (12.2.0.12813)
license: Advanced
version: 1.0.1.300 
  • session info

arcgisbinding_1.0.1.300

R version 4.2.0 (2022-04-22 ucrt) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 19044)

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 21 (10 by maintainers)

Most upvoted comments

I’d say it’s good to close. Thanks again.

Hey @JosiahParry sorry for the late response. I’m just getting setup with a new computer so I won’t be able to test until I get everything setup again but will let you know once that happens. Thanks.

Hey thanks @mmachir!

(1) It looks like it’s the “ArcGIS Online” method. image

(2) “ArcGIS Pro Concurrent Use License”

Let me know if there’s anything else I can help with, thanks.

Looks like when you loaded arcgisbinding you ran into warnings. Would you be able to share what those are? Also, it looks like you’re starting from a previously loaded session. Can you create a new session (session -> new session) and clear the workspace (click the broom next to Environment) and try again? I’m sure the result is likely the same but starting from a blank slate is always good

Thanks @joshualerickson and @orhuna 😃 I’ll try and repro this tomorrow!

@joshualerickson, for my edification can you elaborate a bit more on the use after arc.portal_connect() that you’re aiming for? Once you’ve connected to a portal what is your objective?

@joshualerickson I observed a similar behavior on R 4.2. I am not with ESRI anymore. Adding R-ArcGIS members who might provide next steps forward.