Could you post the script with line breaks? it is almost unreadable as you've send it.
Unless Victor has modified sextante lately, sextante does not read raster layers in R using the raster package, thus including the original script http://biodiversityinformatics.amnh.org/file.php?file_id=628) in Sextante as it is now is not going to be a major advantage. Your fix satImage =stack(inImage) is probably not going to solve the bottom problem, it is just syntactically accepted, but I do not think the variable satImage actually get the required information. You can check with show(satimage) and/or summary(satimage). 'overlay' is deprecated." is normal, because it is a deprecated R function. You should use over() instead, but read help(over) as (I think that) it does not have the same input-output than overlay() Victor, are you attending the upcoming meeting in Girona? Perhaps we could find there some time to work on Sextante and package raster. Agus On Wed, Feb 20, 2013 at 7:39 AM, geantsverts <clard...@yahoo.fr> wrote: > Hello, > > I think I have solved one part of my problem replacing "satImage =inImage " > by "satImage =stack(inImage)" > > However, now I have 2 errors : > The firt one is > "temp <- overlay(vec, xy_allClasses) > Message d'avis : > 'overlay' is deprecated." > > I have no idea of the problem > > And the next is probably more easy : > "filename" variable mean string path filename contrary to mine "outImage" > which is propably a pointer (or similar) to the output due to input/output > sextante reading. > How can I have the file name path from sextante output raster variable ? > > "predict(satImage, randfor, filename=outImage, progress='text', > format='GTiff', datatype='INT1U', type='response', overwrite=TRUE)" > > Thanks in advance for your help. > > > > -- > View this message in context: > http://osgeo-org.1560.n6.nabble.com/Run-R-RandomForest-classification-Script-using-Sextante-tp5034709p5035393.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