Skip to content

Instantly share code, notes, and snippets.

@pglezen
Last active February 27, 2017 03:09
Show Gist options
  • Save pglezen/246da458d9b22caad1c71605c7356518 to your computer and use it in GitHub Desktop.
Save pglezen/246da458d9b22caad1c71605c7356518 to your computer and use it in GitHub Desktop.
A console.log for R
console.log <- function(fmt,...) {
print(paste(format(Sys.time(), "%H:%M:%S"), sprintf(fmt, ...)))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment