[R] PowerCut Killed R - is my code retrievable?

Polwart Calum (County Durham and Darlington NHS Foundation Trust) calum.polwart at nhs.net
Wed Aug 19 23:57:06 CEST 2009


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}}




More information about the R-help mailing list