[R] Lost all script

Mark Difford mark_difford at yahoo.co.uk
Wed Oct 28 21:46:16 CET 2009

Hi David,

>> Now when I turn on R again the script is now completely blank.

This happened to me about 4--5 months ago under Vista. I cannot quite
remember what I did but I think I got the script working by opening it in
another editor (a hex editor would do) and removing either the first few
bytes or the last few bytes.

If you still have the file try this route.

Good luck, Mark.

David Young-18 wrote:
> Hi all,
> I just had a rather unpleasant experience.  After considerable work I
> finally got a script working and set it to run.  It had some memory
> allocation problems when I came back so I used Windows to stop it.
> During that process it told me that the script had been changed and
> asked if I wanted to save it.  Not being positive that I'd saved the
> very last changes I said yes.  Now when I turn on R again the script
> is now completely blank.
> I guess my questions are:
> Is there a way to interrupt a program without using Windows?
> Is there anyway to recover my script?
> And a nice to know:
> Anybody know why it saved blank space as the new script?
> Thanks for any advice.
> A humble, and humbled, new R user.
> -- 
> Best regards,
> David Young
> Marketing and Statistical Consultant
> Madrid, Spain
> +34 913 540 381
> http://www.linkedin.com/in/europedavidyoung
>                           mailto:dyoung at telefonica.net
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

View this message in context: http://www.nabble.com/Lost-all-script-tp26096908p26101731.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list