Head and tail of the disk.frame
a disk.frame
number of rows to include
passed to base::head or base::tail
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)