[R] commenting demos

Olivia Lau olau at fas.harvard.edu
Sun Oct 26 05:49:45 CET 2003


Hi,

Is there a way to make demo() print comments along with the code
and output?

For example, if I use something like readline("..."), demo
prints both readline("...") and ...; as far as I can tell, this
is also true of print() and cat().  I just want students to stop
and think about every command in my demo scripts.

Thanks,

Olivia.




More information about the R-help mailing list