Skip to content

Commit

Permalink
Add pretty parameter to the show method in R
Browse files Browse the repository at this point in the history
  • Loading branch information
zsxwing committed Jun 22, 2015
1 parent a3cd55b commit e582628
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/pkg/R/DataFrame.R
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ setMethod("isLocal",
#'}
setMethod("showDF",
signature(x = "DataFrame"),
function(x, numRows = 20) {
s <- callJMethod(x@sdf, "showString", numToInt(numRows), TRUE)
function(x, numRows = 20, pretty = TRUE) {
s <- callJMethod(x@sdf, "showString", numToInt(numRows), pretty)
cat(s)
})

Expand Down

0 comments on commit e582628

Please sign in to comment.