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

spData dependency does not load #60

Closed
marcbosch-idencity opened this issue Jul 13, 2021 · 3 comments
Closed

spData dependency does not load #60

marcbosch-idencity opened this issue Jul 13, 2021 · 3 comments

Comments

@marcbosch-idencity
Copy link

marcbosch-idencity commented Jul 13, 2021

As it says in the title, when trying to load spdata, it returns the following error. I tried re-installing spdata but then when trying to load spdep, RStudio freezes and, when opening a new session, it returns the same error.

Loading required package: sp
Loading required package: spData
Error: package or namespace load failed for ‘spData’ in .doLoadActions(where, attach):
 error in load action .__A__.1 for package raster: loadModule(module = "spmod", what = TRUE, env = ns, loadNow = TRUE): Unable to load module "spmod": function 'Rcpp_precious_remove' not provided by package 'Rcpp'
Error: package ‘spData’ could not be loaded

Is there any way around this?
I'm using the following versions on a Lenovo Thinkbook 14 (16 GB RAM, intel core i5 from 2020) and the session is as follows,
spData: 0.3.10
spdep: 1.1-8

R version 4.1.0 (2021-05-18)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19041)

Thank you so much.

@marcbosch-idencity
Copy link
Author

Closed, found a solution. Sorry for the inconvenience.

@CaiusJard
Copy link

Can you comment what it was? I'm also seeing an error " function 'Rcpp_precious_remove' not provided by package 'Rcpp' "

@Tingting-Xie
Copy link

Can you comment what it was? I'm also seeing an error " function 'Rcpp_precious_remove' not provided by package 'Rcpp' "

reinstall Rcpp

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

3 participants