-
Notifications
You must be signed in to change notification settings - Fork 420
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
Intermittent "reached elapsed time limit" when nesting #1565
Comments
I don't see anything attached 😢 Regardless this is an error that comes from deep in base R It is highly unlikely to be related to tidyr itself. Possibly it is related to RStudio in some way but I'm not sure. I don't think there is anything actionable for tidyr to do though, so I'm going to close this one. |
Davis,
Fair enough. Closure seems correct. I am 80% sure this is an interaction
effect between base R and Rstudio. I've not had this error arise after
updating to the most current R and Rstudio; but, it's only been a few days.
Thank you!
…On Thu, Oct 24, 2024 at 7:51 AM Davis Vaughan ***@***.***> wrote:
The full data frames are attached to this issue
I don't see anything attached 😢
Regardless this is an error that comes from deep in base R
https://github.com/wch/r-source/blob/0c26529e807a9b1dd65f7324958c17bf72e1de1a/src/main/sysutils.c#L2921
It is highly unlikely to be related to tidyr itself. *Possibly* it is
related to RStudio in some way but I'm not sure.
I don't think there is anything actionable for tidyr to do though, so I'm
going to close this one.
—
Reply to this email directly, view it on GitHub
<#1565 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABEZRTFLASQL5VZQWHIH4ELZ5D3NPAVCNFSM6AAAAABMBBCTTOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZVGM2TMNRZHE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
[image: Logo] <https://mcdonalddatasciences.com/>
Trent McDonald, Ph.D. | President and Founder
*McDonald Data Sciences, LLC*Clear, Concise, Cutting-edge Analyses
w: mcdonalddatasciences.com <http://mcdonalddatasciences.com/>
p: 307.760.4721
|
A strange intermittent error. And, it only occurs for one set of data frames. Other data frames run fine.
Objective: I am attempting to nest (
tidyr::nest
) one data frame and merge with another (dplyr::right_join
).The Problem: I get intermittent "Error in <random R statement> : reached elapsed time limit". This error pops up about 1/2 second after the R console prompt returns. The result (the nested and merged data frame) is correct. Sometimes the error does not pop up. I am using RStudio 2024.04.2 Build 764 and R version 4.4.0
Minimal Example : I spent hours minimizing the example to no avail. If I subset the data frames to ~50 observations, I get the error less frequently, but it still occurs. Removing units in one data frame does not fix it. Removing columns does not fix it. At one point I thought the full data frame was corrupted so I wrote it to text (
dump
) and re-sourced it (source
); but, to no avail. So, I apologize that my minimal example is not very minimal. The full data frames are attached to this issue (output ofdump
). You may need to run the merge several times to get the error. Note I got the error 3 of 5 times I ran the same code, with different "Error in <statement>" each time.The result looks correct:
The text was updated successfully, but these errors were encountered: