fix compilation for me - R wasn't loading plyr