qgis-processing-r
qgis-processing-r copied to clipboard
package (RcppParallel) failing only in qgis
I'm really enjoying linking QGIS to R with your software, thanks for this.
I'm having some trouble loading RcppParallel. I have been trying to fix this on the assumption that there's an issue with how I've set this up. Everything runs fine on my ubuntu system but it fails for me on multiple Windows computers. I've tried starting over after uninstalling R, Rtools, and QGIS, and deleting all R packages. I've used my personal R package library and also tried install packages into the QGIS library.
Is it possible that this has something to do with the plugin? (A script that contains just library(RcppParallel)
gives basically the same error as below.) Outside of QGIS (in R), I have no problem loading these packages.
Hi @JanCaha, do you have any thoughts on why RccpParallel would fail to load in the Processing R Provider when using Windows? I haven't been able to resolve the problem yet (and can try to provide some more info if helpful)
That could be caused by a lot of things. Likely some issue in communication between QGIS, R and RTools.
Can you share the whole script? I can give it a test ...
Yeah, this will fail for me in Windows (but not ubuntu). Thanks
##testing=group
##test=name
##Layer=vector polygon
library(RcppParallel)