Head and tail of the disk.frame

# S3 method for disk.frame
head(x, n = 6L, ...)

# S3 method for disk.frame
tail(x, n = 6L, ...)

Arguments

x

a disk.frame

n

number of rows to include

...

passed to base::head or base::tail

Examples

cars.df = as.disk.frame(cars) head(cars.df)
#> speed dist #> 1: 4 2 #> 2: 4 10 #> 3: 7 4 #> 4: 7 22 #> 5: 8 16 #> 6: 9 10
tail(cars.df)
#> speed dist #> 1: 24 70 #> 2: 24 92 #> 3: 24 93 #> 4: 24 120 #> 5: 25 85
# clean up delete(cars.df)