[Qgis-user] QGIS - Sextante
Victor Olaya
volayaf at gmail.com
Wed May 9 06:14:33 PDT 2012
That is a bit weird...it should do exactly the same calling R from the
DOS console or from SEXTANTE...
Let me read a bit more about how R creates that, and see how it can be fixed...
Thanks for your help
victor
2012/5/9 <M.Stevenson at massey.ac.nz>:
> Yes, when I run R CMD BATCH on sextante_script.r from a DOS box I get the
> correct results written to sextante_script.r.Rout and a (correct) PNG file
> is written to C:\Users\Mark\sextante\tempdata.
>
> The contents of sextante_script.r for this 'test' problem is as follows:
>
> ----------------
> library("rgdal")
> points = readOGR("D:/Temp/BH_village-wgs84.shp",layer="BH_village-wgs84")
> png("C:/Users/Mark/sextante/tempdata/1336564408.941.html.png")
> library("maptools")
> library("spatstat")
> ppp=as(as(points, "SpatialPoints"),"ppp")
> plot(envelope(ppp, Kest, nsim=100))
> dev.off()
> ----------------
>
> Mark S
>
>
>>>
>>> I can start a DOS box and enter:
>>>
>>> R CMD BATCH C:\\Users\\Mark\\sextante\\sextante_script.r
>>>
>>
>> When you do that, does R create the Rout file?
>>
>> It seems thar R is not creating it, but SEXTANTE expects it to be
>> created always. I will add some check, so in case the R does not
>> generate that file (I assumed that it was always generated...maybe it
>> is created somewhere else...), it does not throw an exception and
>> crashes
>>
>>
>>> [even though I've upgraded to Sextante 1.0.5 the menu option
>>> /ANALYSIS/ABOUT SEXTANTE still tells me I'm on version 1.0.4. When
>>> Sextante has loaded the menu option for Sextante has changed from
>>> 'Sextante' to 'Analysis' however.]
>>
>> My fault. I forgot to change that :-) If you downloaded 1.05, I can
>> tell you you are using it :)
>>
>
>
More information about the Qgis-user
mailing list