Skip to content

Instantly share code, notes, and snippets.

@astatham
Last active January 15, 2017 12:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save astatham/7d20e9a6b858495736df to your computer and use it in GitHub Desktop.
Save astatham/7d20e9a6b858495736df to your computer and use it in GitHub Desktop.
Print a data.frame in JIRA/Confluence markup
JIRAtable <- function(x) {
message(paste0("||", paste(names(x), collapse="||"), "||"))
for (i in 1:nrow(x)) message(paste0("|", paste(sapply(x[i,], as.character), collapse="|"), "|"))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment