Bug report #16227

R scripts won't run

Added by matteo ghetta over 2 years ago. Updated over 2 years ago.

Status:Closed
Priority:High
Assignee:Victor Olaya
Category:Processing/Core
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:24137

Description

Hi,
I'm trying to run some simple R scripts in QGIS3. The scripts work fine in QGIS 2.x

A simple script could be:

##Statistic=group
##Layer=vector
##Variable=Field Layer
##showplots

hist(LayerVariable)

But if so, Processing opens the window with nothing that can be done (see screenshot_1)

Bu deleting the first row the window only shows the vector layer and not the vector field (see screenshot_2):

##Layer=vector
##Variable=Field Layer
##showplots

hist(LayerVariable)

Is there some change to the R-Processing syntax?

screenshot_1.png (13 KB) matteo ghetta, 2017-02-23 07:56 AM

screenshot_2.png (17.5 KB) matteo ghetta, 2017-02-23 07:56 AM

Associated revisions

Revision b500ab50
Added by Victor Olaya over 2 years ago

[processing] fixed reading script description for R algorithms

fixes #16227

History

#1 Updated by Victor Olaya over 2 years ago

  • Status changed from Open to Closed

#2 Updated by Giovanni Manghi over 2 years ago

  • Regression? set to No

#3 Updated by Giovanni Manghi over 2 years ago

  • Easy fix? set to No

#4 Updated by Giovanni Manghi over 2 years ago

Some providers are being removed from QGIS/Processing (will be available as plugin) and so are their categories in the bug tracker. To not leave them orphaned of a category they are being reassigned to processing/core.

#5 Updated by Giovanni Manghi over 2 years ago

  • Category changed from 124 to Processing/Core

Also available in: Atom PDF