I am aware of how to add a timestamp during an R session using
R> h <- taskCallbackManager()
R> h$add(function(expr, value, ok, visible) {
+ options("prompt"=format(Sys.time(), "%H:%M:%S> "));
+ return(TRUE) },
+ name = "simpleHandler")
[1] "simpleHandler"
07:25:42> a <- 2
as described in this answer.
How can I make this a permanent feature, so that RStudio always has this as the prompt?