Open Spat

Python headers in R scripts for QGIS

1. The interface between QGIS and R is speci ed by a header in the R script. Each script starts with the Input and Output preceeded with ##.

2. If the script has an instruction ##MyScripts=group then the

algorithm will be added to MyScripts; otherwise, a new

group will be created;

3. The other input types besides group are vector,

Field Layer, table, number, string and boolean;

4. The output types are output vector, output raster,

output table;

5. The instruction ##showplots exports plots to the Result

Viewer; for console output, put > right before the output that

you want to send to the Result Viewer.

Search for R Syntax in Processing scripts to obtain more documentation about headers in R scripts for QGIS.

PrécédentPrécédentSuivantSuivant
AccueilAccueilImprimerImprimerRéalisé avec Scenari (nouvelle fenêtre)