Comments (5)
Jakub, thanks for pointing this out! I will have to look deeper into this. And yes, I guess, it seems as if it's the same problem as #74. Under Windows, one receives the expected result, though one has to use OUTPUT = file.path(tempdir(), "out.shp")
, otherwise strange error messages occur...
Can you please run:
qgis_session_info()
I have tried your code under Linux as well with QGIS 2.14.17, and here it works, i.e. nrow(points_in_nc2)
yields 10.
Nevertheless, issue #74 remains. Hence, I need to write a python snippet, and submit it stack overflow.
from rqgis.
library(RQGIS)
qgis_session_info()
#> Assuming that your root path is '/usr'!
#> Warning in py_run_string_impl(code, local, convert): GDAL Message 4: Failed
#> to open /usr/share/qgis/python/plugins/processing/tests/data/points.shp,
#> Permission denied.
#> Error in file(con, "r"): invalid 'description' argument
It looks that there is some problem. I have no idea how to fix it yet.
from rqgis.
Does it make any difference to run qgis_session_info()
a second time? Or restarting R?
If this does not work, start the terminal, run sudo rstudio
or sudo R
, and then call qgis_session_info()
. This should resolve the permission issue.
from rqgis.
$qgis_version
[1] "2.18.10"
$gdal
[1] "2.1.3"
$grass6
character(0)
$grass7
[1] "7.2.1"
$saga
NULL
$supported_saga_versions
[1] "2.3.0" "2.3.1"
from rqgis.
Perfect! Can you please update to 2.18.11 or 2.18.12, and check if your initial problem still exists. When I used 2.18.11 under Linux, the expected output appeared, i.e. in the first run 100 points and in the second run just 10.
from rqgis.
Related Issues (20)
- RQGIS doesn't recognize SAGA HOT 17
- GRASS7 needs to be installed after QGIS2 HOT 1
- run_qgis() fails silently when OUTPUT not specified and load_output = TRUE HOT 4
- "argument "type_name" is missing, with no default" HOT 2
- ERROR 4 on temporary SAGA files when RQGIS is run inside a function HOT 1
- Unable to open EPSG support file gcs.csv HOT 2
- using RQGIS when LTR is 3.4.6 install on computer HOT 1
- Module '__main__' has no attribute 'RQGIS3' HOT 2
- Python2 support on Homebrew HOT 2
- error in accessing QGIS functionality in R HOT 1
- Errors arising when trying to use files on network as function inputs HOT 4
- Extent mismatch between SAGA through (1) RQGIS and (2) RSAGA (but RSAGA matches the input) HOT 4
- grass7:i.segment does not finish HOT 6
- Error in "grass7:r.neighbors" with method = "6" - sum using raster with NA-values HOT 3
- NA-Bug? HOT 4
- configuration help on macOS high sierra with homebrew osgeo HOT 9
- ERROR in using saga:resampling via RQGIS (but in QGIS it is working) HOT 5
- Producing outputs in loops stops after certain iterations HOT 9
- QGIS3 Support? HOT 11
- v.rast.stats doesn't add a new column HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rqgis.