Use labs() instead of opts() to support R v3.1.0

This is @benoitc's patch from #127, I've just put together a commit and PR (assuming that he's busy!)

This works for me on R 3.1.0 and R 3.0.2.

@benoitc: If you'd rather commit this yourself, please let me know!