chunk is generic, the default method is described here, other methods
that automatically consider RAM needs are provided with package 'ff', see
for example ff::chunk.ffdf()
chunk(complex(1e7))
chunk(raw(1e7))
chunk(raw(1e7), length=3)
chunks(1, 10, 3)
# no longer do chunk(1, 100, 10)
# but for bckward compatibility this works chunk(from=1, to=100, by=10)