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

backgroundRadius fails for large datasets #3

Open
lukasbaumbach opened this issue Feb 26, 2019 · 0 comments
Open

backgroundRadius fails for large datasets #3

lukasbaumbach opened this issue Feb 26, 2019 · 0 comments

Comments

@lukasbaumbach
Copy link

The backgroundRadius runs fine for your small example data set. However, for larger spatial extents (say 1000 rows x1000 columns) these calculations quickly become very memory intense due to the inefficient computation behaviour of matrices. In my example I got prompted, that the matrix is too large and even when installing the recommended spam64 package, I get the error that the matrix distances are too dense.

Since most of the previous steps work with rasters, is there maybe a way to translate your function to work on the basis of rasters? This may save a lot of workspace (in my example R crashed, since the working memory of 32GB was exceeded) and computation time!

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

1 participant