[R] Function call on every prompt

David Winsemius dwinsemius at comcast.net
Fri Nov 19 16:59:22 CET 2010


On Nov 19, 2010, at 10:38 AM, Marc Schwartz wrote:

>>> What's wrong with:
>>>
>>>> options(prompt = paste(format(Sys.time(), "%a %b %d %X %Y %Z"),  
>>>> ">"))
>>> Fri Nov 19 09:30:53 2010 CST>
>>> Fri Nov 19 09:30:53 2010 CST>
>>> Fri Nov 19 09:30:53 2010 CST>
>>
>> That one doesn't get updated with every prompt.
>>
>> Duncan Murdoch
>
> D'oh....you are right.  Thanks Duncan....
>
> Time for more coffee...

Me too, but I think there is a descending limb on the coffee x  
efficiency curve and I may have already reached it.

-- 

David Winsemius, MD
West Hartford, CT



More information about the R-help mailing list