powered by
Compute number of columns of a data.frame (work around https://github.com/rstudio/sparklyr/issues/976 ).
replyr_ncol(x)
tbl or item that can be coerced into such.
number of columns
# NOT RUN { d <- data.frame(x=c(1,2)) replyr_ncol(d) # }
Run the code above in your browser using DataLab