Why does ddply keep showing me an error "not found"?