R/dim.R
replyr_dim.Rd
Compute dimensions of a data.frame (work around https://github.com/rstudio/sparklyr/issues/976 ).
replyr_dim(x)
tbl or item that can be coerced into such.
dimensions (including rows)
d <- data.frame(x=c(1,2)) replyr_dim(d) #> [1] 2 1