Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

In response to comments below, a re-phrasing of the question.

I've used the integration of R with QGIS, and found it a very uesful tool. Having taken a look at the R toolbox extension for 9 and the extension for 10 it appears they both offer only point clustering to demonstrate the proof of concept. The question becomes are there any analysis methods available in R that you would like to see implemented through a python script (for example, implementing specific parts of the spatstat package).

share|improve this question
3  
Why the downvote? Whoever down voted please put a reason. –  Nathan W Aug 20 '10 at 2:09
    
I agree. Downvotes should include an explanation so the poster can improve her/his future questions or answers. It's not clear to me why this question was downvoted. –  Don Meltz Aug 20 '10 at 2:45

2 Answers 2

up vote 7 down vote accepted

The Geospatial Modelling Environment (the successor of Hawth's Tools for ArcGIS) links python scripting, R and ArcGIS in a useful way. I haven't investigated the links with R in detail, but it looks like it may be useful for what you're trying to do.

If you're trying to do something yourself then StatCONN may be useful.

share|improve this answer

I extended Mark Janikas' work on interfacing R and ArcGIS.

Specifically, I built an "R script to ArcGIS Toolbox converter." The user writes an annotated R script and loads it to an ArcMap add-in, which generates a ToolBox for the R script. The ToolBox can be used to load results to ArcMap.

This is the work flow:

enter image description here

And this is how the ArcMap add-in looks like:

enter image description here

enter image description here

Compared to the Mark Janikas' work, my approach avoids two steps for R users wanting to share their work:

  • Defining a toolbox from scratch in ArcToolbox (where each parameter has to be set by hand)
  • Creating a Python script with the logic of the created toolbox, so the user doesn't have to know anything about Python.

Look at this video to get a better idea.

share|improve this answer
    
You know that Mark's scripts are depreciated, correct? The logistic function calls two depreciated functions and the cluster tool relies on a package that no is no longer maintained and as such, is not available at R >= 3.0.0. Given that R is at 3.1.2, users will likely get nothing but errors when running through your example. I have rewritten these scripts with several notable improvements including an autologistic model and silhouette optimization using a K-medoids clustering algorithm. If you would like the scripts, let me know and I will aim you to the download. –  Jeffrey Evans Dec 15 at 18:54
    
I took Mark Janikas' script just for the sake of comparing both approaches, his and mine, through a common example. I expect users use their own R scripts (they would need to annotate them first) to experiment and take advantage of my add-in. Thanks anyway for your offer. –  gcarrillo Dec 15 at 20:23

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.