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

  • Home
  • SEARCH
  • 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 9146997
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T10:52:53+00:00 2026-06-17T10:52:53+00:00

Was calculating a massive amount of data that took two weeks to run. When

  • 0

Was calculating a massive amount of data that took two weeks to run. When I was trying to export the data to use in MS SQL, my RStudio crashed and I had to reopen it. Now when I try to look for the data it seems to be missing!!! YIKES!

Is that data sitting in a file somewhere or does all data you were working with in that session disappear?

Sorry for my ignorance of R. I’m pretty new to it.

Thanks in advance for any help.

  • 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-06-17T10:52:54+00:00Added an answer on June 17, 2026 at 10:52 am

    I’m going to stick my neck out and say that you can’t.

    Since R performs all calculations “in memory” I don’t think you can recover anything. R Studio has some nice features that lets you recover scripts that are being edited, but it’s not R and it doesn’t your data in its memory. At the end of the day R Studio is just an IDE / interface to the R application, which happens to be even much more user-friendly than the default R Gui (which is also just an interface to R).

    In my opinion, R is quite stable, but some of the packages that are very useful are also less stable. In my experience, RODBC is one of those. I suspect that it’s complicated to make something that’s reliable across many operating systems and many databases.

    I would highly recommend storing any data as an RDS or RData file using saveRDS or save, and then loading that data into R and then into SQL in a separate procedure. Saving the R data using the built-in functions should be very reliable.

    Generally speaking, keeping the the R to ODBC work separate will make it a lot easier to debug anyway.

    Sorry about your luck with the data recovery, and I hope that it’s easier to re-run than it was to run originally (i.e. I hope it wasn’t a week of non-stop calculating).

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

Sidebar

Related Questions

Possible Duplicate: Calculating the Difference Between Two Java Date Instances How do I get
I am calculating something that takes some time. For that I've created an inner
I am calculating 16 bit checksum on my data which i need to send
I have a problem calculating the distance between two geopoints. The geopoints are: position1
Calculating time frames between status using SQL 2008/2012 I've the following table who store
Just calculating sum of two arrays with slight modification in code int main() {
Possible Duplicate: Calculating the Difference Between Two Java Date Instances I know this might
We are calculating totals from percentages that must match up to the original total.
I am calculating the maxHeight of an Image embedded in a Canvas-based component that
I'm calculating the distance between two GeoCoordinates. I'm testing my app against 3-4 other

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.