[R] GUI's for teaching

Marc R. Feldesman feldesmanm at pdx.edu
Thu Jun 27 16:22:53 CEST 2002


At 05:03 AM 6/27/2002, Liaw, Andy wrote:
 >My guess is that the args() function might help with the second problem, no?
 >
 >Cheers,
 >Andy

Yes and no.  I didn't mention args because can't use it "in real 
time".  That is, the problem often arises after the student has typed the 
function name and the opening parenthesis.  Its a bit tough to type args() 
in the middle of typing the actual function whose arguments you're trying 
to remember.  It is also difficult in the middle of a string of cascading 
functions.

One (?simple) solution might be context-sensitive help (F1?) that calls up 
the argument list of the function closest to the point of invocation (e.g. 
in this trivial example):

 >sqrt(var(x))
             ^      F1 after the "r" or "(" following "var" would bring up 
the args for var().

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list