Re: [R] Suggestion: Re: Fatal error .RData

2008-09-18 Thread Duncan Murdoch
On 18/09/2008 12:23 PM, Richard M. Heiberger wrote: Isn't the full pathname just paste(getwd(), ".RData", sep="/") Only on Unix-alikes, and the code that prints the error message is platform neutral. And at the point where we need this message, R isn't running, so we'd need this in C code

Re: [R] Suggestion: Re: Fatal error .RData

2008-09-18 Thread Richard M. Heiberger
Isn't the full pathname just paste(getwd(), ".RData", sep="/") Rich __ R-help@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,

Re: [R] Suggestion: Re: Fatal error .RData

2008-09-18 Thread Duncan Murdoch
On 18/09/2008 12:13 PM, Henrik Bengtsson wrote: Hi. On Thu, Sep 18, 2008 at 8:16 AM, Duncan Murdoch <[EMAIL PROTECTED]> wrote: On 18/09/2008 10:55 AM, Henrik Bengtsson wrote: R-core, may I suggest that the error message returns the absolute path (or even the relative path) and not just the fil

Re: [R] Suggestion: Re: Fatal error .RData

2008-09-18 Thread Henrik Bengtsson
Hi. On Thu, Sep 18, 2008 at 8:16 AM, Duncan Murdoch <[EMAIL PROTECTED]> wrote: > On 18/09/2008 10:55 AM, Henrik Bengtsson wrote: >> >> R-core, may I suggest that the error message returns the absolute path >> (or even the relative path) and not just the filename/basename, e.g. >> >> "Fatal error:

Re: [R] Suggestion: Re: Fatal error .RData

2008-09-18 Thread Duncan Murdoch
On 18/09/2008 10:55 AM, Henrik Bengtsson wrote: R-core, may I suggest that the error message returns the absolute path (or even the relative path) and not just the filename/basename, e.g. "Fatal error: unable to restore saved data in C:/Users/foo/.RData" That's a good suggestion, but unfortuna

Re: [R] Suggestion: Re: Fatal error .RData

2008-09-18 Thread hadley wickham
And does it need to be a fatal error? load("test.txt") doesn't produce a fatal error even though the file clearly isn't in the correct format. Or is there the possibility that loading a malformed rdata file introduces memory corruption? On Thu, Sep 18, 2008 at 9:55 AM, Henrik Bengtsson <[EMAIL PR

[R] Suggestion: Re: Fatal error .RData

2008-09-18 Thread Henrik Bengtsson
R-core, may I suggest that the error message returns the absolute path (or even the relative path) and not just the filename/basename, e.g. "Fatal error: unable to restore saved data in C:/Users/foo/.RData" /Henrik On Thu, Sep 18, 2008 at 6:41 AM, Green, Paul <[EMAIL PROTECTED]> wrote: > We are