From http://stackoverflow.com/questions/7004710/laply-is-part-of-what-package-in-r