ucberkeley / bce

Berkeley Common Environment provides a common Linux computational environment for classwork and research.
Apache License 2.0
13 stars 6 forks source link

Install latest R from CRAN? #31

Closed ck37 closed 9 years ago

ck37 commented 9 years ago

Would it be possible to use CRAN's version of R rather than the default one in Ubuntu? I have found that I have to re-install R from CRAN since the current one on BCE is pretty old (3.0.2 rather than ~3.2.0) and has bugs that prevent parallel machine learning in caret from working.

Switching to Ubuntu 15.04 is helpful but still gets us a somewhat old version of R (3.1) - https://launchpad.net/ubuntu/vivid/i386/r-base-core

According to http://askubuntu.com/questions/506560/how-to-install-package-of-r we would need to add a CRAN mirror to the apt packages list that is specific to the Ubuntu version, then that will be used when installing R.

paciorek commented 9 years ago

This makes sense to me. Ryan, how does that sound for summer 2015 version?

On Sat, May 2, 2015 at 4:34 PM, Chris Kennedy notifications@github.com wrote:

Would it be possible to use CRAN's version of R rather than the default one in Ubuntu? I have found that I have to re-install R from CRAN since the current one on BCE is pretty old (3.0.2 rather than ~3.2.0) and has bugs that prevent parallel machine learning in caret from working.

Switching to Ubuntu 15.04 is helpful but still gets us a somewhat old version of R (3.1) - https://launchpad.net/ubuntu/vivid/i386/r-base-core

According to http://askubuntu.com/questions/506560/how-to-install-package-of-r we would need to add a CRAN mirror to the apt packages list that is specific to the Ubuntu version, then that will be used when installing R.

— Reply to this email directly or view it on GitHub https://github.com/ucberkeley/bce/issues/31.

ryanlovett commented 9 years ago

This has already been committed: https://github.com/ucberkeley/bce/blob/dev/provisioning/bootstrap.d/70-r

We will use an MRAN snapshot to freeze the version of both R and its packages. The vivid directory hasn't been pulled from the rrutter PPA yet which is why I haven't been able to roll out a summer-preview release.