gdata package provides various R programming tools for data manipulation.