Skip to content
Back to formatted view

Raw Message

Message-ID: <CDC08B755A76184D92BC74864DB14BFA600BB1D94E@NHS-PCLI-MBC003.AD1.NHS.NET>
Date: 2009-08-19T21:57:06Z
From: Polwart Calum (County Durham and Darlington NHS Foundation Trust)
Subject: PowerCut Killed R - is my code retrievable?

I've been tweaking code for several days on and off in R, cut and pasting in from a text editor (I just leave them open all the time).  I think I got something that was usable but then a powersurge tripped the fuses and unfortunately the machine I was working on doesn't have a UPS.

Does R hold the command data in cache some place?  I've purposefully not opened R since the crash so that if it did I don't over write it?

I guess what I'm wanting is the equivalent of the linux up arrow which repeats the last line.  i know that exists in R but from what I recall it didn't work when you close the R session.  Is that stored in a hidden file someplace that I could copy?

Its not a huge piece of code or anything - but it was code I tweaked over several stages as I'm new to R and so it was part of my learning process.

Also - is there a better way for the future?  I know some people use IDE's but is that for serious programming or for building a small function and tweaking it?

Thanks

Calum

********************************************************************************************************************

This message may contain confidential information. If yo...{{dropped:21}}