Colleagues, Please forgive my ignorance of this topic. I am experienced with the installation/use of R in OSX and Windows, much less so with Linux. I just created a virtual machine of Ubuntu 9.0.4. Using the Synaptic Package Manager, I installed R 2.8.1. I would like to obtain 2.9.x and I am having trouble doing so using the tools available within Ubuntu. I tried apt-get install r-base The system replied that the newest version was already installed and no changes were made. I also added dev http://cran.cnr.berkeley.edu/bin/linux/debian etch-cran to /etc/apt/sources.list Running apt-get install r-base again yielded no response. Can anyone advise on the simplest means to update to 2.9.x. I need only the basic packages, nothing special. Thanks in advance. Dennis Dennis Fisher MD P < (The "P Less Than" Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-415-564-2220 www.PLessThan.com
Dennis, Detailed instructions for adding the Ubuntu repositories can be found here: http://cran.r-project.org/bin/linux/ubuntu/ I think you need to make this change: dev http://cran.cnr.berkeley.edu/bin/linux/ubuntu jaunty/ You will also should install secure apt key as described in the instructions. Michael Dennis Fisher wrote:> Colleagues, > > Please forgive my ignorance of this topic. I am experienced with the > installation/use of R in OSX and Windows, much less so with Linux. > > I just created a virtual machine of Ubuntu 9.0.4. Using the Synaptic > Package Manager, I installed R 2.8.1. I would like to obtain 2.9.x and > I am having trouble doing so using the tools available within Ubuntu. > > I tried > apt-get install r-base > The system replied that the newest version was already installed and no > changes were made. > > I also added > dev http://cran.cnr.berkeley.edu/bin/linux/debian etch-cran > to > /etc/apt/sources.list > Running apt-get install r-base again yielded no response. > > Can anyone advise on the simplest means to update to 2.9.x. I need only > the basic packages, nothing special. Thanks in advance. > > Dennis > > Dennis Fisher MD > P < (The "P Less Than" Company) > Phone: 1-866-PLessThan (1-866-753-7784) > Fax: 1-415-564-2220 > www.PLessThan.com > > _______________________________________________ > R-SIG-Debian mailing list > R-SIG-Debian at r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-debian-- Dr. Michael A. Rutter School of Science Penn State Erie, The Behrend College Station Road Erie, PA 16563 http://math.bd.psu.edu/faculty/rutter
On 23 September 2009 at 08:17, Dennis Fisher wrote: | Colleagues, | | Please forgive my ignorance of this topic. I am experienced with the | installation/use of R in OSX and Windows, much less so with Linux. Welcome! We're here to help. | I just created a virtual machine of Ubuntu 9.0.4. Using the Synaptic | Package Manager, I installed R 2.8.1. I would like to obtain 2.9.x | and I am having trouble doing so using the tools available within | Ubuntu. | | I tried | apt-get install r-base | The system replied that the newest version was already installed and | no changes were made. Right. But you want apt-get update # to refresh information apt-get dist-upgrade # to upgrade to newer versions # incl. possible dependencies after you have done this: | I also added | dev http://cran.cnr.berkeley.edu/bin/linux/debian etch-cran Wrong repo. You copied this from the _Debian_ README but there is also one for _Ubuntu_ in the neighboring directory (ie $CRAN/bin/linux/ubuntu/). Use that instead. | to | /etc/apt/sources.list | Running apt-get install r-base again yielded no response. Very close. | Can anyone advise on the simplest means to update to 2.9.x. I need | only the basic packages, nothing special. Thanks in advance. The above will get you fresh and shiny R 2.9.2 packages courtesy of Vincent and Michael (for the Ubuntu port). Debian via CRAN works thanks to Johannes, and yours truly looks after things in Debian itself which provides the basis for these so-called 'ports'. Keep posting with questions, you're very close. Dirk | | Dennis | | Dennis Fisher MD | P < (The "P Less Than" Company) | Phone: 1-866-PLessThan (1-866-753-7784) | Fax: 1-415-564-2220 | www.PLessThan.com | | _______________________________________________ | R-SIG-Debian mailing list | R-SIG-Debian at r-project.org | https://stat.ethz.ch/mailman/listinfo/r-sig-debian -- Three out of two people have difficulties with fractions.