Re: [R] [Rd] R CMD build wiped my computer

2010-07-28 Thread Jarrod Hadfield
Hi Martin, I think this is the most likely reason given that the name in the DESCRIPTION file does NOT have a version number. Even so, it is very easy to misname a file and then delete it/change its name (as I've done here) and I hope current versions of R would not cause this problem.

Re: [R] [Rd] R CMD build wiped my computer

2010-07-28 Thread Marc Schwartz
Jarrod, Noting your exchange with Martin, Martin brings up a point that certainly I missed, which is that somehow the tilde ('~') character got into the chain of events. As Martin noted, on Linuxen/Unixen (including OSX), the tilde, when used in the context of file name globbing, refers to

Re: [R] [Rd] R CMD build wiped my computer

2010-07-28 Thread Kevin Wright
I doubt if it will be helpful for Jarrod, but when I hear stories like this, I remember reading about a similar event and a remarkable partial recovery here: http://www.justpasha.org/folk/rm.html http://www.justpasha.org/folk/rm.htmlKevin On Wed, Jul 28, 2010 at 8:04 AM, Marc Schwartz

Re: [R] [Rd] R CMD build wiped my computer

2010-07-28 Thread Jarrod Hadfield
Hi Marc, Thanks for the info on recovery - most of it can pieced together from backups but a quick, cheap and easy method of recovery would have been nicer. My main concern is that this could happen again and that the bug is not limited to R 2.9. I would think that an accidental carriage

Re: [R] [Rd] R CMD build wiped my computer

2010-07-28 Thread Duncan Murdoch
On 28/07/2010 10:01 AM, Jarrod Hadfield wrote: Hi Marc, Thanks for the info on recovery - most of it can pieced together from backups but a quick, cheap and easy method of recovery would have been nicer. My main concern is that this could happen again and that the bug is not limited to

Re: [R] [Rd] R CMD build wiped my computer

2010-07-28 Thread Bos, Roger
-project.org] On Behalf Of Duncan Murdoch Sent: Wednesday, July 28, 2010 11:12 AM To: Jarrod Hadfield Cc: r-help@r-project.org; Marc Schwartz Subject: Re: [R] [Rd] R CMD build wiped my computer On 28/07/2010 10:01 AM, Jarrod Hadfield wrote: Hi Marc, Thanks for the info on recovery - most of it can

Re: [R] [Rd] R CMD build wiped my computer

2010-07-28 Thread Marc Schwartz
On Jul 28, 2010, at 3:18 PM, Bos, Roger wrote: Ubuntu also uses ~ as a backup file syntax, but Ubuntu has a trash can where deleted files are located, so it would be easy to restore them. I would be surprised if Fedora didn't also have a trash can. snip Roger, It does, but that is only if

Re: [R] [Rd] R CMD build wiped my computer

2010-07-28 Thread Kevin Wright
To: Jarrod Hadfield Cc: r-help@r-project.org; Marc Schwartz Subject: Re: [R] [Rd] R CMD build wiped my computer On 28/07/2010 10:01 AM, Jarrod Hadfield wrote: Hi Marc, Thanks for the info on recovery - most of it can pieced together from backups but a quick, cheap and easy method

Re: [R] [Rd] R CMD build wiped my computer

2010-07-28 Thread Ray Brownrigg
On Thu, 29 Jul 2010, Duncan Murdoch wrote: On 28/07/2010 10:01 AM, Jarrod Hadfield wrote: Hi Marc, Thanks for the info on recovery - most of it can pieced together from backups but a quick, cheap and easy method of recovery would have been nicer. My main concern is that this could