Skip to content
Prev 19283 / 63421 Next

help with read.table() function

On 1/30/2006 4:16 AM, Martin Maechler wrote:
I'd say "a way to use R", and I think teachers *should* present such a 
use.  It insulates users from uninteresting details, just as now it's 
probably good to advocate using file.choose() rather than explaining 
paths and escape characters before beginners can do anything with data.
Later on they'll need to learn those things, but not from the beginning.
Right, I agree here too.  This would soften the shock of the 1st 
introduction, but as soon as the students are ready to look at functions 
and understand default parameters, they'd be able to see that the 
default value for the "file" argument is file.choose().   They might 
become curious about it and call it by itself and discover that it is 
possible to program GUI elements (assuming that file.choose() calls one).
I think I disagree with you because I think GUI programming is 
programming.  I don't want beginners to think that there are two kinds 
of programs:  command-line programs that they can write, and GUI 
programs that only Microsoft can write.  I want them to think that 
programming is programming.  Doing complex things is harder than doing 
easy things, but it's not qualitatively different.

Duncan Murdoch