Re: [Rd] [R] help with read.table() function

2006-01-30 Thread Martin Maechler
> "Duncan" == Duncan Murdoch <[EMAIL PROTECTED]> > on Mon, 30 Jan 2006 09:58:23 -0500 writes: Duncan> On 1/30/2006 4:16 AM, Martin Maechler wrote: >>> "Duncan" == Duncan Murdoch <[EMAIL PROTECTED]> on >>> Sun, 29 Jan 2006 16:35:50 -0500 writes: >> Duncan> On

Re: [Rd] [R] help with read.table() function

2006-01-30 Thread Duncan Murdoch
On 1/30/2006 4:16 AM, Martin Maechler wrote: >> "Duncan" == Duncan Murdoch <[EMAIL PROTECTED]> >> on Sun, 29 Jan 2006 16:35:50 -0500 writes: > > Duncan> On 1/29/2006 1:29 PM, Prof Brian Ripley wrote: > >> On Sun, 29 Jan 2006, Marc Schwartz wrote: > >> > >>> I would arg

Re: [Rd] [R] help with read.table() function

2006-01-30 Thread Martin Maechler
> "Duncan" == Duncan Murdoch <[EMAIL PROTECTED]> > on Sun, 29 Jan 2006 16:35:50 -0500 writes: Duncan> On 1/29/2006 1:29 PM, Prof Brian Ripley wrote: >> On Sun, 29 Jan 2006, Marc Schwartz wrote: >> >>> I would argue against this. >>> >>> If this were the defaul

Re: [Rd] [R] help with read.table() function

2006-01-29 Thread Gabor Grothendieck
On 1/29/06, Duncan Murdoch <[EMAIL PROTECTED]> wrote: > On 1/29/2006 5:20 PM, Gabor Grothendieck wrote: > > On 1/29/06, Duncan Murdoch <[EMAIL PROTECTED]> wrote: > >> On 1/29/2006 1:24 PM, Gabor Grothendieck wrote: > >> > Normally one expects stdin to be the default on command line > >> > program

Re: [Rd] [R] help with read.table() function

2006-01-29 Thread Duncan Murdoch
On 1/29/2006 5:20 PM, Gabor Grothendieck wrote: > On 1/29/06, Duncan Murdoch <[EMAIL PROTECTED]> wrote: >> On 1/29/2006 1:24 PM, Gabor Grothendieck wrote: >> > Normally one expects stdin to be the default on command line >> > programs and something like file.choose to be the default on GUI >> >

Re: [Rd] [R] help with read.table() function

2006-01-29 Thread Gabor Grothendieck
On 1/29/06, Duncan Murdoch <[EMAIL PROTECTED]> wrote: > On 1/29/2006 1:24 PM, Gabor Grothendieck wrote: > > Normally one expects stdin to be the default on command line > > programs and something like file.choose to be the default on GUI > > programs and this would break that expectation. > > We

Re: [Rd] [R] help with read.table() function

2006-01-29 Thread Duncan Murdoch
On 1/29/2006 1:24 PM, Gabor Grothendieck wrote: > Normally one expects stdin to be the default on command line > programs and something like file.choose to be the default on GUI > programs and this would break that expectation. We don't currently meet that expectation, so I don't think it would

Re: [Rd] [R] help with read.table() function

2006-01-29 Thread Duncan Murdoch
On 1/29/2006 1:29 PM, Prof Brian Ripley wrote: > On Sun, 29 Jan 2006, Marc Schwartz wrote: > >> I would argue against this. >> >> If this were the default, that is requiring user interaction, it would >> break a fair amount of code that I (and I am sure a lot of others have) >> where automation is

Re: [Rd] [R] help with read.table() function

2006-01-29 Thread Marc Schwartz
Duncan, OK. I mis-understood the proposal. My error. Thanks for the clarification. Marc On Sun, 2006-01-29 at 13:08 -0500, Duncan Murdoch wrote: > On 1/29/2006 12:55 PM, Marc Schwartz wrote: > > I would argue against this. > > > > If this were the default, that is requiring user interaction, i

Re: [Rd] [R] help with read.table() function

2006-01-29 Thread Prof Brian Ripley
On Sun, 29 Jan 2006, Marc Schwartz wrote: I would argue against this. If this were the default, that is requiring user interaction, it would break a fair amount of code that I (and I am sure a lot of others have) where automation is critical. I don't see how. The current default is read.ta

Re: [Rd] [R] help with read.table() function

2006-01-29 Thread Duncan Murdoch
On 1/29/2006 12:55 PM, Marc Schwartz wrote: > I would argue against this. > > If this were the default, that is requiring user interaction, it would > break a fair amount of code that I (and I am sure a lot of others have) > where automation is critical. I don't see how this change could affect a

Re: [Rd] [R] help with read.table() function

2006-01-29 Thread Marc Schwartz
I would argue against this. If this were the default, that is requiring user interaction, it would break a fair amount of code that I (and I am sure a lot of others have) where automation is critical. A lot of the issues seem to be user errors, file permission errors, hidden extensions as is poin

Re: [Rd] [R] help with read.table() function

2006-01-29 Thread Duncan Murdoch
(Moved from R-help). This comes up often enough that I'm starting to think most functions that take filename arguments should have file.choose() as the default value. Then one could do read.table() and have a dialog box pop up in Windows, or some other prompt for a filename in other platform