Re: [R] How to install R 2.5 with Synaptic in Ubuntu?
Hi, I can't get this approach to work. When I first added the repsitory line to /etc/apt/sources.list synaptic complained that it was a malformed line. I fixed this by adding main to end of the entry making it: deb http://my.favorite.cran.mirror/bin/linux/ubuntu feisty main However after this it still complains that it can't find packages.gz It appears to be looking in http://my.favorite.cran.mirror/bin/linux/ubuntu/distsfeisty which isn't the directory structure of the cran repository, but I can see anyway to modify this behaviour. Every other Ubuntu repositoy I have looked at contains the dists directory. Any suggestions for modifying this behaviour are gratefully recieved. Many thanks Mike Smith quot;Stefan Großequot; wrote: I'm using Ubuntu dapper, which only have R of Version 2.2.1. Would anybody tell me how to install the latest version of R with from the CRAN Ubuntu readme- works for synaptic as well: * UBUNTU R packages for Ubuntu on i386 are available. The plans are to support at least the latest Ubuntu release and the latest LTS release. Currently (April 2007), these are Feisty Fawn (7.04) and Dapper Drake (6.06), respectively. Since Feisty was released very shortly before R 2.5.0, binary packages *for this release of R* are also available for Edgy Eft (6.10). To obtain the latest R packages, add an entry like deb http://my.favorite.cran.mirror/bin/linux/ubuntu feisty/ or deb http://my.favorite.cran.mirror/bin/linux/ubuntu edgy/ or deb http://my.favorite.cran.mirror/bin/linux/ubuntu dapper/ in your /etc/apt/sources.list file. See http://cran.r-project.org/mirrors.html for the list of CRAN mirrors. To install the complete R system, use sudo apt-get update sudo apt-get install r-base Users who need to compile packages should also install the r-base-dev package: sudo apt-get install r-base-dev The R packages for Ubuntu should otherwise behave like the Debian ones. For more information, see the README file in http://cran.R-project.org/bin/linux/debian/ * SECURE APT The Ubuntu archives on CRAN are signed with the key of Vincent Goulet [EMAIL PROTECTED] with key ID E2A11821. You can fetch this with gpg --keyserver subkeys.pgp.net --recv-key E2A11821 and then you feed the key to apt-key with gpg -a --export E2A11821 | sudo apt-key add - Some people have reported difficulties using this approach. The issue was usually related to a firewall blocking port 11371. An alternative approach is to search for the key at http://keyserver.noreply.org/ and copy the key to a plain text file, say key.txt. Then, feed the key to apt-key with sudo apt-key add key.txt * ACKNOWLEDGEMENT The Debian R packages are maintained by Dirk Eddelbuettel and Doug Bates. The Ubuntu packages are compiled for i386 by Vincent Goulet. [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch 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. -- View this message in context: http://www.nabble.com/How-to-install-R-2.5-with-Synaptic-in-Ubuntu--tf3998481.html#a11426235 Sent from the R help mailing list archive at Nabble.com. __ R-help@stat.math.ethz.ch 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.
Re: [R] How to install R 2.5 with Synaptic in Ubuntu?
to end of the entry making it: deb http://my.favorite.cran.mirror/bin/linux/ubuntu feisty main However after this it still complains that it can't find packages.gz Just a guess: have you replaced the my.favorite.cran.mirror by a mirror which is close to you? If you're in UK it would be for example deb http://www.stats.bris.ac.uk/R/bin/linux/ubuntu feisty main ;o) Stefan It appears to be looking in http://my.favorite.cran.mirror/bin/linux/ubuntu/distsfeisty which isn't the directory structure of the cran repository, but I can see anyway to modify this behaviour. Every other Ubuntu repositoy I have looked at contains the dists directory. Any suggestions for modifying this behaviour are gratefully recieved. Many thanks Mike Smith -=-=- ... The simple truth is that interstellar distances will not fit into the human imagination - (The Hitchhiker's Guide to the Galaxy) __ R-help@stat.math.ethz.ch 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.
Re: [R] How to install R 2.5 with Synaptic in Ubuntu?
Hi, Thanks for the suggestion and I wish the solution was that obvious, but I have changed it to really point at my favourite mirror. Using your example Synaptic reports the following error when I try to update the repositories: http://www.stats.bris.ac.uk/R/bin/linux/ubuntu/dists/feisty/main/binary-i386/Packages.gz: 404 Not Found This is understandable since that location doesn't exist, but it makes me think that the directory structure of the R mirrors is not compatible with Ubuntu and Synaptic, since it automatically seeks /dists/feisty/ rather than just /feisty/ as it is on the CRAN mirrors. Thanks again Mike Smith Stefan Grosse-2 wrote: to end of the entry making it: deb http://my.favorite.cran.mirror/bin/linux/ubuntu feisty main However after this it still complains that it can't find packages.gz Just a guess: have you replaced the my.favorite.cran.mirror by a mirror which is close to you? If you're in UK it would be for example deb http://www.stats.bris.ac.uk/R/bin/linux/ubuntu feisty main ;o) Stefan It appears to be looking in http://my.favorite.cran.mirror/bin/linux/ubuntu/distsfeisty which isn't the directory structure of the cran repository, but I can see anyway to modify this behaviour. Every other Ubuntu repositoy I have looked at contains the dists directory. Any suggestions for modifying this behaviour are gratefully recieved. Many thanks Mike Smith -=-=- ... The simple truth is that interstellar distances will not fit into the human imagination - (The Hitchhiker's Guide to the Galaxy) __ R-help@stat.math.ethz.ch 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. -- View this message in context: http://www.nabble.com/How-to-install-R-2.5-with-Synaptic-in-Ubuntu--tf3998481.html#a11427837 Sent from the R help mailing list archive at Nabble.com. __ R-help@stat.math.ethz.ch 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.
Re: [R] How to install R 2.5 with Synaptic in Ubuntu?
msmith schrieb: Hi, Thanks for the suggestion and I wish the solution was that obvious, but I have changed it to really point at my favourite mirror. Using your example Synaptic reports the following error when I try to update the repositories: http://www.stats.bris.ac.uk/R/bin/linux/ubuntu/dists/feisty/main/binary-i386/Packages.gz: 404 Not Found This is understandable since that location doesn't exist, but it makes me think that the directory structure of the R mirrors is not compatible with Ubuntu and Synaptic, since it automatically seeks /dists/feisty/ rather than just /feisty/ as it is on the CRAN mirrors. Hm. I have Fedora 7 so I cannot really check what my entry would look like. I recently installed Kubuntu on a friends notebook so there the readme from http://www.stats.bris.ac.uk/R/bin/linux/ubuntu/README.html did actually work. I just had a second look at your mail so could it be that there is a missing slash after feisty? If that does not work try another mirror like deb http://stat.ethz.ch/CRAN/bin/linux/ubuntu/ feisty/ there is also no main stated there in the readme... sorry I copied that from your mail so thats obviously not following the readme... I hope this works now. Stefan -=-=- ... Satisfaction does not come with achievement, but with effort. Full effort is full victory. (M.Gandhi) __ R-help@stat.math.ethz.ch 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.
Re: [R] How to install R 2.5 with Synaptic in Ubuntu?
Stefan Grosse schrieb: deb http://www.stats.bris.ac.uk/R/bin/linux/ubuntu feisty main Sorry, I copied a mistake there, it should be: deb http://www.stats.bris.ac.uk/R/bin/linux/ubuntu feisty/ Stefan -=-=- ... The simple truth is that interstellar distances will not fit into the human imagination - (The Hitchhiker's Guide to the Galaxy) __ R-help@stat.math.ethz.ch 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.
Re: [R] How to install R 2.5 with Synaptic in Ubuntu?
mike, try installing directly using apt-get instead of Synaptic. in my /etc/apt/sources.list i added the line: deb http://cran.R-project.org/bin/linux/ubuntu/ dapper/ and then i did: bash$ sudo apt-get install r-base r-doc-info r-doc-pdf r-doc-html r-mathlib r-base-html r-base-latex r-base-dev r-gnome recently to update to R 2.5.1 on my version of Ubuntu (6.06). cheers, thomas. Message: 98 Date: Wed, 4 Jul 2007 02:34:37 -0700 (PDT) From: msmith [EMAIL PROTECTED] Subject: Re: [R] How to install R 2.5 with Synaptic in Ubuntu? To: r-help@stat.math.ethz.ch Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=us-ascii Hi, Thanks for the suggestion and I wish the solution was that obvious, but I have changed it to really point at my favourite mirror. Using your example Synaptic reports the following error when I try to update the repositories: http://www.stats.bris.ac.uk/R/bin/linux/ubuntu/dists/feisty/main/binary-i386/Packages.gz: 404 Not Found This is understandable since that location doesn't exist, but it makes me think that the directory structure of the R mirrors is not compatible with Ubuntu and Synaptic, since it automatically seeks /dists/feisty/ rather than just /feisty/ as it is on the CRAN mirrors. Thanks again Mike Smith Stefan Grosse-2 wrote: to end of the entry making it: deb http://my.favorite.cran.mirror/bin/linux/ubuntu feisty main However after this it still complains that it can't find packages.gz Just a guess: have you replaced the my.favorite.cran.mirror by a mirror which is close to you? If you're in UK it would be for example deb http://www.stats.bris.ac.uk/R/bin/linux/ubuntu feisty main ;o) Stefan It appears to be looking in http://my.favorite.cran.mirror/bin/linux/ubuntu/distsfeisty which isn't the directory structure of the cran repository, but I can see anyway to modify this behaviour. Every other Ubuntu repositoy I have looked at contains the dists directory. Any suggestions for modifying this behaviour are gratefully recieved. Many thanks Mike Smith -=-=- ... The simple truth is that interstellar distances will not fit into the human imagination - (The Hitchhiker's Guide to the Galaxy) __ R-help@stat.math.ethz.ch 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. -- View this message in context: http://www.nabble.com/How-to-install-R-2.5-with-Synaptic-in-Ubuntu--tf3998481.html#a11427837 Sent from the R help mailing list archive at Nabble.com. __ R-help@stat.math.ethz.ch 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.
Re: [R] How to install R 2.5 with Synaptic in Ubuntu?
I'm using Ubuntu dapper, which only have R of Version 2.2.1. Would anybody tell me how to install the latest version of R with from the CRAN Ubuntu readme- works for synaptic as well: * UBUNTU R packages for Ubuntu on i386 are available. The plans are to support at least the latest Ubuntu release and the latest LTS release. Currently (April 2007), these are Feisty Fawn (7.04) and Dapper Drake (6.06), respectively. Since Feisty was released very shortly before R 2.5.0, binary packages *for this release of R* are also available for Edgy Eft (6.10). To obtain the latest R packages, add an entry like deb http://my.favorite.cran.mirror/bin/linux/ubuntu feisty/ or deb http://my.favorite.cran.mirror/bin/linux/ubuntu edgy/ or deb http://my.favorite.cran.mirror/bin/linux/ubuntu dapper/ in your /etc/apt/sources.list file. See http://cran.r-project.org/mirrors.html for the list of CRAN mirrors. To install the complete R system, use sudo apt-get update sudo apt-get install r-base Users who need to compile packages should also install the r-base-dev package: sudo apt-get install r-base-dev The R packages for Ubuntu should otherwise behave like the Debian ones. For more information, see the README file in http://cran.R-project.org/bin/linux/debian/ * SECURE APT The Ubuntu archives on CRAN are signed with the key of Vincent Goulet [EMAIL PROTECTED] with key ID E2A11821. You can fetch this with gpg --keyserver subkeys.pgp.net --recv-key E2A11821 and then you feed the key to apt-key with gpg -a --export E2A11821 | sudo apt-key add - Some people have reported difficulties using this approach. The issue was usually related to a firewall blocking port 11371. An alternative approach is to search for the key at http://keyserver.noreply.org/ and copy the key to a plain text file, say key.txt. Then, feed the key to apt-key with sudo apt-key add key.txt * ACKNOWLEDGEMENT The Debian R packages are maintained by Dirk Eddelbuettel and Doug Bates. The Ubuntu packages are compiled for i386 by Vincent Goulet. [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch 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.