Update R source to the latest version

Ideally we would install r via home-brew, but it seems to be impossible...