Skip to content

Commit

Permalink
add commas function.
Browse files Browse the repository at this point in the history
This should resolve vertica#21
  • Loading branch information
shabbybanks authored Apr 7, 2017
1 parent ebac291 commit 18db574
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions R/src-vertica.R
Original file line number Diff line number Diff line change
Expand Up @@ -746,6 +746,9 @@ op_sort.op_system <- function(op)
NULL
}

# utility function stolen from dplyr.
commas <- function(...) paste0(..., collapse = ", ")

print.tbl_vertica <- function (x, ..., n = NULL, width = NULL)
{
cat("Source: query ", dim_desc(x), "\n", sep = "")
Expand Down

0 comments on commit 18db574

Please sign in to comment.