Improve R build

- Do not conflict with another installation of R
- Enable readline support for a better experience
- Permit profiling