Learn R Programming

replyr (version 0.9.2)

replyr_hasrows: Check if a table has rows.

Description

Check if a table has rows.

Usage

replyr_hasrows(d)

Arguments

d

tbl or item that can be coerced into such.

Value

number of rows

Examples

Run this code
# NOT RUN {
d <- data.frame(x=c(1,2))
replyr_hasrows(d)

# }

Run the code above in your browser using DataLab