R: better names by crossing(), fixes #587.