R package and utilities for working on ECG files from the Physionet PTB database