Rdatatable / Rdatatable/data.table

[R-Forge #2590] During grouping, last group overwrites memory used by previous groups

Open
#507 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
R
Stars
3.9k
Forks
1.1k
Avg merge
14h 4m
Merged PRs (30d)
4

Description

Submitted by: Matt Dowle; Assigned to: Nobody; R-Forge link

As raised here on SO. I had a look and made progress but couldn't for the life of me work out why the last group is reused.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no repository file or test; begin with the linked Stack Overflow example and R-Forge report, reproducing the grouped update(lm(...)) case. Trace why the last group reuses or overwrites model data; done means earlier groups retain their own model data, with a regression check once the relevant test location is found.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.