Comments (11)
@jonnyforestGIS
The problem is fixed here, with the release 0.0.3.
from qgis-processing-r.
I suspect an installation issue there. Try this version -- it will work using the "install plugin from zip" option from the plugins dialog:
from qgis-processing-r.
When it's done and you try to run an algorithm, you should see a line like this in the message log panel:
from qgis-processing-r.
Ok @nyalldawson and @PedroVenancio. I will try and give you feedback tomorrow and if everything go right i close this issue. Thank you for your time.
from qgis-processing-r.
Can you test with current master version? This should output some debug text to the log panel, under the R tab when you attempt to run an algorithm. It will give the current determined path for the R executable.
from qgis-processing-r.
Steps.
- Erase the default profile.
- Don't import settings from 2.x
- Copy and past in the QGIS plugins the r processing plugin master folder.
- Run QGIS 3.4.1. Activate the R (assume correctly the path of R in processing settings providers) My case: C:\Program Files\R\R-3.2.0
- Run the test script and give me same behavior (Can't find R).
Don't appear nothing in the python warnings or processing log viewer or processing results.
I'm doing something wrong?
from qgis-processing-r.
[UPDATE]
After i close and open the QGIS. This errors star int he python warnings.
2018-11-26T13:17:16 WARNING warning:C:\OSGEO4~1\apps\Python37\lib\site-packages\yaml\constructor.py:126: DeprecationWarning:
Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
traceback: File "", line 1, in
File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 335, in startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:/Users/raiz/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\r\__init__.py", line 22, in classFactory
from .r_plugin import RProviderPlugin
File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 672, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:/Users/raiz/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\r\r_plugin.py", line 22, in
from r.processing.provider import RAlgorithmProvider
File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 672, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:/Users/raiz/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\r\processing\provider.py", line 26, in
from processing.core.ProcessingConfig import ProcessingConfig, Setting
File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 672, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 983, in _find_and_load
File "", line 953, in _find_and_load_unlocked
File "", line 219, in _call_with_frames_removed
File "", line 983, in _find_and_load
File "", line 953, in _find_and_load_unlocked
File "", line 219, in _call_with_frames_removed
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:/OSGEO4~1/apps/qgis/./python/plugins\processing\__init__.py", line 29, in
from processing.tools.general import * # NOQA
File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 672, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:/OSGEO4~1/apps/qgis/./python/plugins\processing\tools\general.py", line 39, in
from processing.core.Processing import Processing
File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 672, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:/OSGEO4~1/apps/qgis/./python/plugins\processing\core\Processing.py", line 58, in
from processing.algs.qgis.QgisAlgorithmProvider import QgisAlgorithmProvider # NOQA
File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 672, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:/OSGEO4~1/apps/qgis/./python/plugins\processing\algs\qgis\QgisAlgorithmProvider.py", line 48, in
from .QgisAlgorithm import QgisAlgorithm
File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 672, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:/OSGEO4~1/apps/qgis/./python/plugins\processing\algs\qgis\QgisAlgorithm.py", line 30, in
from processing.algs.help import shortHelp
File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 672, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:/OSGEO4~1/apps/qgis/./python/plugins\processing\algs\help\__init__.py", line 58, in
shortHelp = loadShortHelp()
File "C:/OSGEO4~1/apps/qgis/./python/plugins\processing\algs\help\__init__.py", line 40, in loadShortHelp
h.update(yaml.load(stream))
File "C:\OSGEO4~1\apps\Python37\lib\site-packages\yaml\__init__.py", line 72, in load
return loader.get_single_data()
File "C:\OSGEO4~1\apps\Python37\lib\site-packages\yaml\constructor.py", line 37, in get_single_data
return self.construct_document(node)
File "C:\OSGEO4~1\apps\Python37\lib\site-packages\yaml\constructor.py", line 46, in construct_document
for dummy in generator:
File "C:\OSGEO4~1\apps\Python37\lib\site-packages\yaml\constructor.py", line 398, in construct_yaml_map
value = self.construct_mapping(node)
File "C:\OSGEO4~1\apps\Python37\lib\site-packages\yaml\constructor.py", line 204, in construct_mapping
return super().construct_mapping(node, deep=deep)
File "C:\OSGEO4~1\apps\Python37\lib\site-packages\yaml\constructor.py", line 126, in construct_mapping
if not isinstance(key, collections.Hashable):
File "C:\OSGEO4~1\apps\Python37\lib\collections\__init__.py", line 52, in __getattr__
DeprecationWarning, stacklevel=2)
from qgis-processing-r.
Thanks @jonnyforestGIS -- I'm keen to get this stable, as these binary paths were a persistently annoying issue with the old 2.x version of the provider.
from qgis-processing-r.
Hi 👍 it's working. @nyalldawson I will close this issue. What are the next steps for this provider? Do you intend to put the same features as qgis 2.x? For example Right click to see and change the code for example?
from qgis-processing-r.
@jonnyforestGIS you should already be able to edit existing scripts via right click.
The current roadmap is basically outlined via the open tickets here. There's a handful of remain parts to implement still.
from qgis-processing-r.
I confirm @nyalldawson .
I just test a sample code of R Histogram equal to QGIS 2.x but give me an error on QGIS 3.x. I will open a new issue with this subject.
Feel free to notify me for extra tests in Windows Environment. Good work.
from qgis-processing-r.
Related Issues (20)
- Global and project variables in R. HOT 11
- ImportError: cannot import name 'QgsProcessingParameterColor' HOT 3
- R packages `rgdal` and others will be retired HOT 1
- problem with input table HOT 1
- Provider quotes the arguments of the library() command - in full HOT 2
- Optional enum literal returns a numeric variable HOT 5
- Layer = Point Cloud HOT 2
- This algorithm requires R to be run ...
- Long long time to install default libraries HOT 2
- Question: Process a selection from the data table
- Possibilities to publish a script tool as a plugin HOT 1
- Possibility to specify the symbology of output rasters HOT 1
- UnicodeDecodeError HOT 1
- package (RcppParallel) failing only in qgis HOT 3
- rgdal was retired from CRAN and is required for Processing R Provider
- Plugin refactoring HOT 3
- bug on reading with R-QGIS a filtered vector layer HOT 2
- question about montecarlo script HOT 2
- R Libraries are really slow to install on windows HOT 2
- CRS parameter as WKT
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 qgis-processing-r.