Possible Duplicate:
R: Display a time clock in the R command line
Is there any way to configure R so that it will display a time stamp before the prompt ">"?
Thanks a lot EC
Possible Duplicate:
R: Display a time clock in the R command line
Is there any way to configure R so that it will display a time stamp before the prompt ">"?
Thanks a lot EC
This will do it:
options(prompt=paste(Sys.time(),"> "))
I forget how to make it update though. I'll try to check when I get a sec...
Ahh found it:
updatePrompt <- function(...) {options(prompt=paste(Sys.time(),"> ")); return(TRUE)}
addTaskCallback(updatePrompt)