Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

R Integration.pyt displays as broken (x) #38

Closed
HajimeSeya opened this issue Dec 1, 2016 · 3 comments
Closed

R Integration.pyt displays as broken (x) #38

HajimeSeya opened this issue Dec 1, 2016 · 3 comments

Comments

@HajimeSeya
Copy link

HajimeSeya commented Dec 1, 2016

Hi, developers,

I am. I am very sorry to bother you again by this issue.
I use ArcGIS 10.3.1 (and tried ArcGIS 4, too) and have installed the latest version of R 3.3.2.
The problem I am facing is that empty "R Integration.pyt," may be caused by ASCII.
It says that "ascii' codec can't decode byte 0x8e in position 10: ordinal not in range(128),"
The folder "r-bridge-install-master" is at C:. I am very happy if you can suggest the hint to
solve this problem.

Thanks,
Hajime
image

@AnArcheo
Copy link

Dear Hajime,
I had the same problem, but I finally fixed it. (It worked for me perfectly)
First, You have to download latest 'arcgisbinding' package from here: .
Next, install this package using R (or RStudio) from local (*zip) repository (provide path where it was downloaded). After installation You should check in R if installation was successful, typing:

library(arcgisbinding)
*** Please call arc.check_product() to define a desktop license.
arc.check_product()

If there is no error messages, there is few steps to do:

  1. In most cases R packages are installed in C:\Users\Documents\R\win-library) so You have to copy from there 'arcgisbinding' folder and paste it into two places:
  • C:\Program Files\R\R-3.3.1 (This will require administrator privileges)
  • C:\Program Files (x86)\ArcGIS\Desktop10.x\Rintegration (before that, You have to create 'Rintegration' folder in that location)
  1. Next, set 'Path Environment Variable' to R and it's modules and library (like is shown here:)
    C:\Program Files\R\R-3.3.1
    C:\Program Files\R\R-3.3.1\bin
    C:\Program Files\R\R-3.3.1\library
    C:\Program Files\R\R-3.3.1\modules
    Remember to add a semi-colon (;) between each path!

  2. Last one, download sample-toolbox and try it :)
    Good Luck!
    Anna

@HajimeSeya
Copy link
Author

It perfectly works for me!!
Thank you very much for your very detailed information, Anna.

Hajime

@AnArcheo
Copy link

I'm glad to hear!
Best work and analysis!
Anna

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants