Hi<br><br>R tools on Sextante are not working. I already opened a bug report.<br><br><a href="http://hub.qgis.org/issues/6834">http://hub.qgis.org/issues/6834</a><br><br><div class="gmail_quote">On Thu, Dec 6, 2012 at 11:26 AM, Agustin Diez-Castillo <span dir="ltr"><<a href="mailto:gvsig.mac@gmail.com" target="_blank">gvsig.mac@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>Working with several commands that used to work (like F function- distance from a point to nearest event)<br>Sextante attempts to read at the wrong location the points layer because it puts the file in both the dsn and the layer call <br>
<p style="margin:0px;text-indent:0px">points = readOGR("/Users/adiez/sextante/tempdata/sextanteaddautoincrementalfield12",layer="sextanteaddautoincrementalfield12")</p>instead of<br>points = readOGR("/Users/adiez/sextante/tempdata/",layer="sextanteaddautoincrementalfield12")<br>
that it's what works in the R console<br>
<table style="margin:0px" align="center" border="0" cellpadding="0" cellspacing="2" width="100%">
<tbody><tr>
<td>
<p style="margin:0px;text-indent:0px">QGIS version</p></td>
<td>
<p style="margin:0px;text-indent:0px">1.9.0-Master</p></td>
<td>
<p style="margin:0px;text-indent:0px">QGIS code revision</p></td>
<td>
<p style="margin:0px;text-indent:0px">98dc557</p></td></tr>
<tr>
<td>
<p style="margin:0px;text-indent:0px">Compiled against Qt</p></td>
<td>
<p style="margin:0px;text-indent:0px">4.8.3</p></td>
<td>
<p style="margin:0px;text-indent:0px">Running against Qt</p></td>
<td>
<p style="margin:0px;text-indent:0px">4.8.3</p></td></tr>
<tr>
<td>
<p style="margin:0px;text-indent:0px">Compiled against GDAL/OGR</p></td>
<td>
<p style="margin:0px;text-indent:0px">1.9.1</p></td>
<td>
<p style="margin:0px;text-indent:0px">Running against GDAL/OGR</p></td>
<td>
<p style="margin:0px;text-indent:0px">1.9.2</p></td></tr>
<tr>
<td>
<p style="margin:0px;text-indent:0px">GEOS Version</p></td>
<td>
<p style="margin:0px;text-indent:0px">3.3.5</p></td>
<td>
<p style="margin:0px;text-indent:0px">PostgreSQL Client Version</p></td>
<td>
<p style="margin:0px;text-indent:0px">9.1.6</p></td></tr>
<tr>
<td>
<p style="margin:0px;text-indent:0px">SpatiaLite Version</p></td>
<td>
<p style="margin:0px;text-indent:0px">3.0.1</p></td>
<td>
<p style="margin:0px;text-indent:0px">QWT Version</p></td>
<td>
<p style="margin:0px;text-indent:0px">6.0.1</p></td></tr>
<tr>
<td>
<p style="margin:0px;text-indent:0px">PROJ.4 Version</p></td>
<td>
<p style="margin:0px;text-indent:0px">480</p></td>
<td>
<p style="margin:0px;text-indent:0px">QScintilla2 Version</p></td>
<td>
<p style="margin:0px;text-indent:0px">2.6.2</p></td></tr>
<tr>
<td colspan="4">
<p style="margin:0px;text-indent:0px">This copy of QGIS writes debugging output.</p><p style="margin:0px;text-indent:0px">Log</p><p style="margin:0px;text-indent:0px">-------</p><p style="margin:0px;text-indent:0px">
</p><p style="margin:0px;text-indent:0px">R execution console output</p>
<p style="margin:0px;text-indent:0px"><br></p>
<p style="margin:0px;text-indent:0px">R version 2.15.2 (2012-10-26) -- "Trick or Treat"</p>
<p style="margin:0px;text-indent:0px">Copyright (C) 2012 The R Foundation for Statistical Computing</p>
<p style="margin:0px;text-indent:0px">ISBN 3-900051-07-0</p>
<p style="margin:0px;text-indent:0px">Platform: i386-apple-darwin9.8.0/i386 (32-bit)</p>
<p style="margin:0px;text-indent:0px"><br></p>
<p style="margin:0px;text-indent:0px">R is free software and comes with ABSOLUTELY NO WARRANTY.</p>
<p style="margin:0px;text-indent:0px">You are welcome to redistribute it under certain conditions.</p>
<p style="margin:0px;text-indent:0px">Type 'license()' or 'licence()' for distribution details.</p>
<p style="margin:0px;text-indent:0px"><br></p>
<p style="margin:0px;text-indent:0px">Natural language support but running in an English locale</p>
<p style="margin:0px;text-indent:0px"><br></p>
<p style="margin:0px;text-indent:0px">R is a collaborative project with many contributors.</p>
<p style="margin:0px;text-indent:0px">Type 'contributors()' for more information and</p>
<p style="margin:0px;text-indent:0px">'citation()' on how to cite R or R packages in publications.</p>
<p style="margin:0px;text-indent:0px"><br></p>
<p style="margin:0px;text-indent:0px">Type 'demo()' for some demos, 'help()' for on-line help, or</p>
<p style="margin:0px;text-indent:0px">'help.start()' for an HTML browser interface to help.</p>
<p style="margin:0px;text-indent:0px">Type 'q()' to quit R.</p>
<p style="margin:0px;text-indent:0px"><br></p>
<p style="margin:0px;text-indent:0px">library("rgdal")</p>
<p style="margin:0px;text-indent:0px">Loading required package: sp</p>
<p style="margin:0px;text-indent:0px">rgdal: (SVN revision 360)</p>
<p style="margin:0px;text-indent:0px">Geospatial Data Abstraction Library extensions to R successfully loaded</p>
<p style="margin:0px;text-indent:0px">Loaded GDAL runtime: GDAL 1.9.0, released 2011/12/29</p>
<p style="margin:0px;text-indent:0px">Path to GDAL shared files: /Library/Frameworks/R.framework/Versions/2.15/Resources/library/rgdal/gdal</p>
<p style="margin:0px;text-indent:0px">Loaded PROJ.4 runtime: Rel. 4.8.0, 6 March 2012, [PJ_VERSION: 480]</p>
<p style="margin:0px;text-indent:0px">Path to PROJ.4 shared files: /Library/Frameworks/R.framework/Versions/2.15/Resources/library/rgdal/proj</p>
<p style="margin:0px;text-indent:0px">points = readOGR("/Users/adiez/sextante/tempdata/sextanteaddautoincrementalfield12.shp",layer="sextanteaddautoincrementalfield12")</p>
<p style="margin:0px;text-indent:0px">Error in file(paste(dsn, .Platform$file.sep, layer, ".dbf", sep = ""), :</p>
<p style="margin:0px;text-indent:0px">cannot open the connection</p>
<p style="margin:0px;text-indent:0px">Calls: readOGR -> ogrInfo -> file</p>
<p style="margin:0px;text-indent:0px">In addition: Warning message:</p>
<p style="margin:0px;text-indent:0px">In file(paste(dsn, .Platform$file.sep, layer, ".dbf", sep = ""), :</p>
<p style="margin:0px;text-indent:0px">cannot open file '/Users/adiez/sextante/tempdata/sextanteaddautoincrementalfield12.shp/sextanteaddautoincrementalfield12.dbf': Not a directory</p>
<p style="margin:0px;text-indent:0px">Execution halted</p>
<p style="margin:0px;text-indent:0px"><br></p></td></tr></tbody></table><br>
<br>_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
<br></blockquote></div><br>