[R] time (or output of function) in the R prompt

Liaw, Andy andy_liaw at merck.com
Thu Apr 11 15:59:44 CEST 2002

Dear R-help,

Would it be possible to have the "prompt" option accept a function, such as
date()?  This way, I can easily deduce the elapse time of top level R
expressions.  This would be similar to how Unix shells handle their prompt


Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (Whitehouse Station, New Jersey, USA) that may be confidential, proprietary copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named on this message.  If you are not the intended recipient, and have received this message in error, please immediately return this by e-mail and then delete it.


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