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

issue with left_join for a large dataset #1890

Closed
btojenniferborder opened this issue Nov 1, 2023 · 3 comments
Closed

issue with left_join for a large dataset #1890

btojenniferborder opened this issue Nov 1, 2023 · 3 comments

Comments

@btojenniferborder
Copy link

I had a issues with using left_join for a very big dataset (13 million rows). I got this error message:

Joining with by = join_by(coord)
Error in vctrs::vec_locate_matches():
! Match procedure results in an allocation larger than 2^31-1 elements. Attempted allocation size was 3452978837.
ℹ In file match.c at line 2658.
ℹ This is an internal error that was detected in the vctrs package.
Please report it at https://github.com/r-lib/vctrs/issues with a reprex and the full backtrace.
Backtrace:

  1. ├─dplyr::left_join(all_ringing_data, int)
  2. ├─dplyr:::left_join.data.frame(all_ringing_data, int)
  3. │ └─dplyr:::join_mutate(...)
  4. │ └─dplyr:::join_rows(...)
  5. │ └─dplyr:::dplyr_locate_matches(...)
  6. │ ├─base::withCallingHandlers(...)
  7. │ └─vctrs::vec_locate_matches(...)
  8. └─rlang:::stop_internal_c_lib(...)
  9. └─rlang::abort(message, call = call, .internal = TRUE, .frame = frame)
@btojenniferborder
Copy link
Author

sorted was an issue with my data

@BertilS
Copy link

BertilS commented Nov 1, 2023

I have the same issue. How did u sort the problem?

@btojenniferborder
Copy link
Author

btojenniferborder commented Nov 1, 2023 via email

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