R : Throw away first and last n rows