Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7170101
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T15:08:38+00:00 2026-05-28T15:08:38+00:00

I have a rather large chunk of code that breaks sometimes, as far as

  • 0

I have a rather large chunk of code that breaks sometimes, as far as I can see randomly, with the error message:

This application has requested the Runtime to terminate it in an
unusual way. Please contact the application’s support team for more
information.

Some research showed me that this seems to be a Windows/C runtime message when abort is called (see for example this link). This drives me nuts: Since it is not an error thrown by R I have no idea where to look. Does anyone have any clue where R or maybe data.table (if that’s possible that a package calls the abort function in C runtime [??]) calls the abort function?

Here are some further information:

  1. The problem is independent from the machine: I tried it on two different machines, it crashed on both of them sometimes.
  2. The problem is independent on the R version: I tried it with 2.13.1, 2.13.2, and 2.14.0.
  3. Both machines run Windows 7 (64 bit).
  4. The problem seems to be related to the size of my data.tables. When I artificially reduce the size of the bigger data.table, the code runs like a charm. Interestingly, however, one machine has far more RAM than the other (16 GB compared to 6 GB). This additional RAM, however, doesn’t really help, at least it seems so.
  5. The problem is not reproducible and breaks at different sections in my code. I noticed this because my code is run in a Sweave document, so I can open the .tex file after R has crashed and it always stops at a different position. However, it always seems to be when a data.table operation is called (that doesn’t mean a lot though because my code relies heavily on data.table). However, even when I don’t call Sweave, but just run the code, it breaks sometimes as well. So it does not seem to be related to Sweave.
  6. It has nothing to do with the editor I’m using. I use RStudio, but reproduced this behavior by running the code in a plain R command window.

That’s basically all possible explanations I’ve come up with. So it would be great if anyone has any hints on where this error could come from or what else I could check.

PS: I won’t be at my machine the next couple of days, so I hope you forgive me when I don’t give feedback immediately. Nevertheless, I wanted to post this question before Xmas, otherwise I couldn’t enjoy it with my beloved R suffering and I’m sitting at home, not trying to cure it…

UPDATE

I looked further into the issue and after a while, I got a rather minimal example with data.table that breaks my R session. If this issue is fixed and it solves the crash of R as described here (note that this is a big if because the example I posted on the data.table list just breaks my R session and does not end it with the error message I described here), I will write an answer here and accept it.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T15:08:39+00:00Added an answer on May 28, 2026 at 3:08 pm

    OK, this was basically a hard to detect issue with data.table that should be fixed with the version 1.7.8. For more information, see the NEWS file.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have rather large input XML files that must be converted to a given
I have a rather large (many gigabytes) table of data in SQL Server that
I have a rather large (80k loc) java desktop app that talks to a
I have a rather large list of data that contains 5 properties per element.
I have a rather large text file that has a bunch of missing newlines,
I have a rather large legacy Java Applet that has several problems: It looks
If I have a rather large Mercurial project locally, and wish to experiment, can
We have rather large code base (150+ projects, 400000+ lines of Java code, some
We have a rather large library that we need to periodically import (and then
I have a rather large solution consisting of several projects that wants to install

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.