I was feeling sad so I decided to queer my #rstats startup message, and now I don't feel so sad
@Drmowinckels Oh yeah that's a bit of a hack. My .Rprofile has a line in it that clears the screen (and with it the default startup message):
cat("\014")
After that, I write my own startup message like this:
cli::cli_alert(R.version.string)
cli::cli_alert(paste("Running under", utils::osVersion))
cli::cli_alert(paste("System time is", as.character(lubridate::now())))
@Drmowinckels That works fine in RStudio, but if you want it to work for R at the terminal you have to do a bit more work, so the actual "clear screen" code I use is
system2("clear")
cat("\014")