[Qgis-developer] R Sextante error

Agustin Lobo alobolistas at gmail.com
Sun Oct 21 12:13:31 PDT 2012


Victor,
If my abstract is accepted, my presentation will be on geospatial
capabilities of R, and I will devote a significant part on links to
GIS packages. manageR and Sextante are very important, as they
offer access to R from within a GIS platform. Obviously, I would like
to present them as operational tools.
If you recruit a team of beta testers for Sextante, you can count on
me to help testing the R part.
Let me know how to access to the doc on git that you are preparing as
soon as you have it ready, the meetings will be 15-16/11
Thanks
Agus


On Sat, Oct 20, 2012 at 9:14 PM, Victor Olaya <volayaf at gmail.com> wrote:
> Agustin
>
> 2 quick things:
>
> 1) I am going to prepare a document with instructions to use the
> latest version from git. That might help you and others as well.
>
> 2)If you are doing a presentation about SEXTANTE, that puts you in my
> list of "privileged" users :-) That means that you can (and you
> should) ask me for direct help or to prepared a tailored version so
> you have it ready for your presentation.
>
> Anyway, do you have any deadline for that?. I am presenting SEXTANTE
> at the Russian FOSS4G conference in mid november, and I should have a
> new version ready by that time. In the meantime, as I said, and if you
> do not manage to use git, I can send you just a zip file with changes
> that affect the R engine in SEXTANTE, so you can just unzip them in
> you QGis plugins folder and test them.
>
> Regards
>
> Victor
>
>
>
>
> 2012/10/20 Agustin Lobo <alobolistas at gmail.com>:
>> i understand the hassle, but from the point of view of R scripts in
>> Sextante this is not a bug, it is
>> that Sextante is totally unusable for this purpose. My intention was
>> to include this Sextante capability
>> within my (hopefully) forthcoming presentation on geospatial
>> capabilities of R in a R users meeting, (and have
>> been trying using it, see
>> http://osgeo-org.1560.n6.nabble.com/R-scripts-for-raster-layers-in-External-Apps-of-the-Sextante-Toolbox-plugin-td4998046.html).
>> I will try the git thing (now that Ii know hot to use svn...), if I
>> find directions on how to do it.
>>
>> Agus
>>
>> On Sat, Oct 20, 2012 at 4:53 PM, Victor Olaya <volayaf at gmail.com> wrote:
>>> Agustin,
>>>
>>> There are a few importante changes since last version, but I would
>>> like to close a couple of bugs before releasing a new version. The
>>> patch, I will apply it today and it will be in the github repo.
>>>
>>> In short, I guess you can count on a new version in less than a month
>>> (there is not a well defined roadmap at the moment, but that is a good
>>> estimate). If you want to always have the most recent version (with
>>> unstable stuff as well...), using the github version is the
>>> recommended way of doing it.
>>>
>>>
>>> 2012/10/20 Agustin Lobo <alobolistas at gmail.com>:
>>>> Great, Ii assume this solves the problem
>>>> Victor,
>>>> Will we have a new version of the Sextante plugin soon or do we have
>>>> to apply the patch ourselves?
>>>> Agus
>>>>
>>>> On Fri, Oct 19, 2012 at 3:12 PM, Victor Olaya <volayaf at gmail.com> wrote:
>>>>> Thanks!
>>>>>
>>>>> 2012/10/19 rldhont <rldhont at gmail.com>:
>>>>>> Hi Victor,
>>>>>>
>>>>>> Ticket opens and patch supplies
>>>>>> http://hub.qgis.org/issues/6545
>>>>>>
>>>>>> René-Luc
>>>>>>
>>>>>> Le 19/10/2012 10:15, Victor Olaya a écrit :
>>>>>>
>>>>>>> That makes sense...
>>>>>>>
>>>>>>> Please open a ticket and provide a patch, and I will apply it ASAP
>>>>>>>
>>>>>>> Many thanks!
>>>>>>>
>>>>>>> Victor
>>>>>>>
>>>>>>> 2012/10/19 rldhont <rldhont at gmail.com>:
>>>>>>>>
>>>>>>>> Hi all,
>>>>>>>>
>>>>>>>> With a friend of mine, we identifying a bug on Ubuntu with R in sextante.
>>>>>>>>
>>>>>>>> The bug is : The python subprocess doesn't execute the command.
>>>>>>>> The solution put the parameter shell to False on linux for the subprocess
>>>>>>>> Popen construction.
>>>>>>>>
>>>>>>>> Python doc
>>>>>>>> http://docs.python.org/library/subprocess.html#popen-constructor
>>>>>>>> :
>>>>>>>> On Windows with shell=True, the COMSPEC environment variable specifies
>>>>>>>> the
>>>>>>>> default shell. The only time you need to specify shell=True on Windows is
>>>>>>>> when the command you wish to execute is built into the shell (e.g. dir or
>>>>>>>> copy). You do not need shell=True to run a batch file or console-based
>>>>>>>> executable.
>>>>>>>>
>>>>>>>> If you want I can open an issue and provide a patch.
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>> René-Luc
>>>>>>>>
>>>>>>>>
>>>>>>>> Le 19/10/2012 10:01, Victor Olaya a écrit :
>>>>>>>>
>>>>>>>>> Agustin
>>>>>>>>>
>>>>>>>>> The most useful info here is in the Rlog file that you will find in
>>>>>>>>> [your-user-folder]/sextante
>>>>>>>>>
>>>>>>>>> That tells us what was the problem with R (if any). Could you please
>>>>>>>>> send
>>>>>>>>> it?
>>>>>>>>>
>>>>>>>>> thanks for your help
>>>>>>>>>
>>>>>>>>> Victor
>>>>>>>>>
>>>>>>>>> 2012/10/19 Agustin Lobo <alobolistas at gmail.com>:
>>>>>>>>>>
>>>>>>>>>> I find  problem at trying to run R scripts within Sextante
>>>>>>>>>> on ubuntu 10.04 + qgis 1.8
>>>>>>>>>>
>>>>>>>>>> I include links to screen captures of the results at attempting to run
>>>>>>>>>> the provided example script "Create random sample grid":
>>>>>>>>>>
>>>>>>>>>> http://dl.dropbox.com/u/3180464/Rsextante1.jpeg
>>>>>>>>>> http://dl.dropbox.com/u/3180464/Rsextante2.jpeg
>>>>>>>>>> http://dl.dropbox.com/u/3180464/Rsextante3.jpeg
>>>>>>>>>> http://dl.dropbox.com/u/3180464/Rsextante4.jpeg
>>>>>>>>>>
>>>>>>>>>> I've seen a couple or R-Sextante tickets in
>>>>>>>>>> http://hub.qgis.org/projects/sextante/issues
>>>>>>>>>>
>>>>>>>>>> but I think that they are not related to this, as it seems that
>>>>>>>>>> those users were able to go beyond than I've been. It also seems like R
>>>>>>>>>> Sextante
>>>>>>>>>> might be working on windows and not on linux?
>>>>>>>>>>
>>>>>>>>>> Should I open a ticket for this in
>>>>>>>>>> http://hub.qgis.org/projects/sextante/issues ?
>>>>>>>>>>
>>>>>>>>>> Thanks
>>>>>>>>>>
>>>>>>>>>> Agus
>>>>>>>>>>
>>>>>>>>>> QGIS version 1.8.0-Lisboa
>>>>>>>>>> QGIS code revision exported
>>>>>>>>>> Compiled against Qt4.6.2
>>>>>>>>>> Running against Qt4.6.2
>>>>>>>>>> Compiled against GDAL/OGR1.9.1
>>>>>>>>>> Running against GDAL/OGR1.9.1
>>>>>>>>>> GEOS Version3.3.3
>>>>>>>>>> PostgreSQL Client Version8.4.12
>>>>>>>>>> SpatiaLite Version2.4.0
>>>>>>>>>> QWT Version5.2.0
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Qgis-developer mailing list
>>>>>>>>>> Qgis-developer at lists.osgeo.org
>>>>>>>>>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> Qgis-developer mailing list
>>>>>>>>> Qgis-developer at lists.osgeo.org
>>>>>>>>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Qgis-developer mailing list
>>>>>>>> Qgis-developer at lists.osgeo.org
>>>>>>>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Qgis-developer mailing list
>>>>>> Qgis-developer at lists.osgeo.org
>>>>>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>>>> _______________________________________________
>>>>> Qgis-developer mailing list
>>>>> Qgis-developer at lists.osgeo.org
>>>>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>> _______________________________________________
>>> Qgis-developer mailing list
>>> Qgis-developer at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer


More information about the Qgis-developer mailing list