# Toy example with iris data
hdd_path = tempfile()
write_hdd(iris, hdd_path, rowsPerChunk = 20)
base_hdd = hdd(hdd_path)
origin(base_hdd)
# Let's add something
write_hdd(head(iris), hdd_path, add = TRUE)
write_hdd(iris, hdd_path, add = TRUE, rowsPerChunk = 50)
base_hdd = hdd(hdd_path)
origin(base_hdd)
Run the code above in your browser using DataLab