Could you post here the whole code of the SEXTANTE R script you have written?
Thanks! 2013/2/16 geantsverts <clard...@yahoo.fr>: > Hello, > > I have discovered the very good R random forest classification script > (http://biodiversityinformatics.amnh.org/file.php?file_id=628) which compute > Random forest classification base on raster and Shape file. > > It works very well. > > In order to have better human interface, I would like to run it with > Sextante plugin. > > However, the Sextante R script seems to be slightly different than original > R script and I don't no how to adapt it. > > In particular, raster is originaly reading using this line where "inImage" > is raster path and then there is a loop. > satImage <- stack(inImage) > for (b in 1:nlayers(satImage)) { NAvalue(satImage@layers[[b]]) <- nd } > > Then when I call it in sextante the loop does'not work. > I think that it's due to the fact Sextante load raster in an other thing > than R... > > Could you help me ? > > May be someone have adapted this R script to sextante :D ? > > Thanks in advance ! > > > > -- > View this message in context: > http://osgeo-org.1560.n6.nabble.com/Run-R-RandomForest-classification-Script-using-Sextante-tp5034709.html > Sent from the Quantum GIS - User mailing list archive at Nabble.com. > _______________________________________________ > Qgis-user mailing list > Qgis-user@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/qgis-user _______________________________________________ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user