Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

package (RcppParallel) failing only in qgis #124

Open
ConnorDonegan opened this issue Nov 3, 2023 · 3 comments
Open

package (RcppParallel) failing only in qgis #124

ConnorDonegan opened this issue Nov 3, 2023 · 3 comments

Comments

@ConnorDonegan
Copy link

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.

rcpp-error

@ConnorDonegan
Copy link
Author

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)

@JanCaha
Copy link
Collaborator

JanCaha commented Nov 29, 2023

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 ...

@ConnorDonegan
Copy link
Author

Yeah, this will fail for me in Windows (but not ubuntu). Thanks

##testing=group
##test=name
##Layer=vector polygon

library(RcppParallel)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants