Skip to content

Commit

Permalink
Make print a well-behave pipe
Browse files Browse the repository at this point in the history
  • Loading branch information
hadley committed Nov 20, 2014
1 parent 785c1ae commit 62469f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/tbl-df.r
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ print.tbl_df <- function(x, ..., n = NULL, width = NULL) {
cat("Source: local data frame ", dim_desc(x), "\n", sep = "")
cat("\n")
trunc_mat(x, n = n, width = width)

invisible(x)
}

#' @export
Expand Down

0 comments on commit 62469f7

Please sign in to comment.