Closed ghtmtt closed 5 years ago
With all the files I tried (in attach a zip of one simple point layer) I have always this error:
#data preparation df<-as.data.frame(Layer) FX<-Layer[[Variable]] hist(FX) dev.off() R execution console output [1] "/home/matteo/.local/share/QGIS/QGIS3/profiles/tm/processing/rlibs/rgdal" [1] "/home/matteo/.local/share/QGIS/QGIS3/profiles/tm/processing/rlibs/raster" Loading required package: sp rgdal: version: 1.3-6, (SVN revision 773) Geospatial Data Abstraction Library extensions to R successfully loaded Loaded GDAL runtime: GDAL 2.3.2, released 2018/09/21 Path to GDAL shared files: /usr/share/gdal GDAL binary built with GEOS: TRUE Loaded PROJ.4 runtime: Rel. 5.2.0, September 15th, 2018, [PJ_VERSION: 520] Path to PROJ.4 shared files: (autodetected) Linking to sp version: 1.3-1 Error in ogrInfo(dsn = dsn, layer = layer, encoding = encoding, use_iconv = use_iconv, : Cannot open layer Calls: readOGR -> suppressMessages -> withCallingHandlers -> ogrInfo Execution halted
samples.zip
If you run the same script in a standalone r console, does it work? Can you identify what's wrong with the generated script?
With all the files I tried (in attach a zip of one simple point layer) I have always this error:
samples.zip