[R] cannot upgrade to R 2.9.1 in Ubuntu

Dirk Eddelbuettel edd at debian.org
Sat Aug 29 18:37:49 CEST 2009


Luis,

I missed this email earlier.  Consider using r-sig-debian for Debian / Ubuntu
question (but you need to subscribe before you can post).

On 7 August 2009 at 13:27, Luis Ridao Cruz wrote:
| R-help,
| 
| At the moment the R version installed on my machine is 2.8.1. (Ubuntu 9.04)
| I wish to upgrade to  R 2.9.1.
| 
| I did:
| $ sudo apt-get upgrade
| 
| ..but R is not upgraded although the "sources.list" file is updated with:
| 
| deb http://cran.ii.uib.no/bin/linux/ubuntu jaunty/

By force of habit, I usually do 'apt-get update; apt-get dist-upgrade'.  I
can never remember where upgrade and dist-upgrade differ.  Make sure you run
'apt-get update' first though.

One useful check is 'apt-cache policy r-base-core' where apt will tell you
which versions from which repos it knows to be available and how it ranks
them (equally by default; you can change that with 'pinning').

Hth, Dirk

| 
| When I run from the terminal I still get:
| 
| $ R
| R version 2.8.1 (2008-12-22)
| Copyright (C) 2008 The R Foundation for Statistical Computing
| ISBN 3-900051-07-0
| 
| R is free software and comes with ABSOLUTELY NO WARRANTY.
| You are welcome to redistribute it under certain conditions.
| Type 'license()' or 'licence()' for distribution details.
| 
|   Natural language support but running in an English locale
| ..........
| ..........
| 
| 
| Thanks in advance
| 
| ______________________________________________
| R-help at r-project.org mailing list
| https://stat.ethz.ch/mailman/listinfo/r-help
| PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
| and provide commented, minimal, self-contained, reproducible code.

-- 
Three out of two people have difficulties with fractions.




More information about the R-help mailing list