Possible timestamp in R?

Possible duplicate:
R: display time on the command line R

Is there a way to configure R to display the timestamp before the ">" prompt?

Thanks a lot EC

+6
source share
1 answer

This will be done:

options(prompt=paste(Sys.time(),"> ")) 

I forgot how to do this update. I will try to check when I receive ...

Ah found this:

 updatePrompt <- function(...) {options(prompt=paste(Sys.time(),"> ")); return(TRUE)} addTaskCallback(updatePrompt) 
+9
source

Source: https://habr.com/ru/post/903613/


All Articles