Rdatatable / Rdatatable/data.table
as.data.table doesn't handle AsIs columns correctly
Open
Nobody has claimed this yet.
bug
- Dominant language
- R
- Stars
- 3.9k
- Forks
- 1.1k
- Avg merge
- 14h 4m
- Merged PRs (30d)
- 4
Description
DF <- data.frame(a=1, b=I(matrix(1:10, ncol=10)))
as.data.table(DF)
# Error: C stack usage 7969412 is too close to the limit
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running the provided data.frame and as.data.table(DF) example to reproduce the C stack overflow, then trace the as.data.table entry point for handling AsIs matrix columns. Done means the conversion completes without recursive stack exhaustion and produces the expected data.table result for the example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- data
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100