Re: [R-sig-Debian] R on Ubuntu
Dale, Thanks for chiming in. Some very personal notes below: On 6 May 2018 at 17:52, Dale Steele wrote: | Hi Roman - | | Based on advice form the list, here's what I did: | | sudo apt purge r-cran-* r-base-* I usually try my utmost not to. Once packages are purge you cannot get them back. I prefer to start an upgrade and back out if need be / if it would remove package -- my go-to command is 'apt-get dist-upgrade' which allows that. | sudo add-apt-repository ppa:marutter/rrutter3.5 | sudo apt-get update | | sudo add-apt-repository ppa:marutter/c2d4u3.5 | sudo apt-get update Yes though Michael has not yet announced these or declared them ready. | dpkg -l | grep r-cran-* | | sudo apt-get install r-base r-base-dev | | Added my account to the 'staff' group, so that I can install | non-recommended packages in R without 'sudo R' | http://www.maketecheasier.com/add-remove-user-to-groups-in-ubuntu/ | http://stackoverflow.com/questions/5560139/install-r- | package-xml-in-debian-ubuntu | | sudo usermod -a -G staff myusername | logout and restart Good point. And often forgotten. | | Many packages are becoming available in the c2d4u3.5 repository. I've | built/rebuild mostly from CRAN. | However, to add pre-built binaries: | | sudo apt-get install r-cran-packagename | | Finally ... rebuild existing packages in '/usr/local/lib/R/site-library' | > update.packages(checkBuilt= TRUE) Yep. | One issues, to update recommended packages in '/usr/lib/R/site-library,, | must start R as sudoer, ie. 'sudo R' Actually, no! Those are the ones from r-cran-* packages, and I would leave those alone. More below .. | Best. --Dale | | | On Sun, May 6, 2018 at 1:14 PM, Aguirre Perez, Roman| wrote: | | > Hi everyone, | > | > first of all, my sincerest thanks for the maintainers of this massive | > project. Such a compelling task! | > | > Briefly, I’m a PhD student working on Spatial Stats who loves R. Last week | > I decided to install and use Ubuntu (again). Consequently, I install the | > latest release (18.04) and tried to install R 3.5.0 as well but | > (un)fortunately I couldn’t. | > | > I have used R within Ubuntu and I use to follow the installation procedure | > suggested in the R-project website. However, this time was a bit different. | > I realised I was missing a key fact. There’s plenty of work behind making | > available R packages for Ubuntu! It briefly showed up in front of my eyes | > the meaning of each installation step. That’s why I’m here. So I would | > really appreciate you to enlighten me with your knowledge. I really want to | > go in depth on the relationship R-Ubuntu. Btw, any resource for learning is | > more than welcome. | > | > In this sense, which is the meaning of starting to install R by adding | > | > deb https://www.stats.bris.ac.uk/R/bin/linux/ubuntu bionic/< | > https://www.stats.bris.ac.uk/R/bin/linux/ubuntu%20bionic/> | > | > in the source.list file? That is a basic Ubuntu / Debian question. Try googling for some tutorials on 'how to I add repositories to Ubuntu' (or Debian). | > I realised that I’m able to compile | > | > sudo apt-get install r-base | > | > without doing the first step. Which is the difference between each one? That you get a pre-built binary (with more bells and whistles) and don't need to compile. That is called 'package managment' (at the Debian / Ubuntu level). Again, tty some tutorials there. This is orthogonal to R use. Dirk | > Now that I’m more aware I know that it isn’t so straightforward to mirror | > to CRAN and I have to hold my horses a bit more jeje. So should I install | > previous of both R and Ubuntu? I mean, does it take a long time to have a | > mirrored version? | > | > | > Best, | > Roman. | > | > | > [[alternative HTML version deleted]] | > | > ___ | > R-SIG-Debian mailing list | > R-SIG-Debian@r-project.org | > https://stat.ethz.ch/mailman/listinfo/r-sig-debian | > | | [[alternative HTML version deleted]] | | ___ | R-SIG-Debian mailing list | R-SIG-Debian@r-project.org | https://stat.ethz.ch/mailman/listinfo/r-sig-debian -- http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org ___ R-SIG-Debian mailing list R-SIG-Debian@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-debian
Re: [R-sig-Debian] R on Ubuntu
Hi Roman - Based on advice form the list, here's what I did: sudo apt purge r-cran-* r-base-* sudo add-apt-repository ppa:marutter/rrutter3.5 sudo apt-get update sudo add-apt-repository ppa:marutter/c2d4u3.5 sudo apt-get update dpkg -l | grep r-cran-* sudo apt-get install r-base r-base-dev Added my account to the 'staff' group, so that I can install non-recommended packages in R without 'sudo R' http://www.maketecheasier.com/add-remove-user-to-groups-in-ubuntu/ http://stackoverflow.com/questions/5560139/install-r- package-xml-in-debian-ubuntu sudo usermod -a -G staff myusername logout and restart Many packages are becoming available in the c2d4u3.5 repository. I've built/rebuild mostly from CRAN. However, to add pre-built binaries: sudo apt-get install r-cran-packagename Finally ... rebuild existing packages in '/usr/local/lib/R/site-library' > update.packages(checkBuilt= TRUE) One issues, to update recommended packages in '/usr/lib/R/site-library,, must start R as sudoer, ie. 'sudo R' Best. --Dale On Sun, May 6, 2018 at 1:14 PM, Aguirre Perez, Romanwrote: > Hi everyone, > > first of all, my sincerest thanks for the maintainers of this massive > project. Such a compelling task! > > Briefly, I’m a PhD student working on Spatial Stats who loves R. Last week > I decided to install and use Ubuntu (again). Consequently, I install the > latest release (18.04) and tried to install R 3.5.0 as well but > (un)fortunately I couldn’t. > > I have used R within Ubuntu and I use to follow the installation procedure > suggested in the R-project website. However, this time was a bit different. > I realised I was missing a key fact. There’s plenty of work behind making > available R packages for Ubuntu! It briefly showed up in front of my eyes > the meaning of each installation step. That’s why I’m here. So I would > really appreciate you to enlighten me with your knowledge. I really want to > go in depth on the relationship R-Ubuntu. Btw, any resource for learning is > more than welcome. > > In this sense, which is the meaning of starting to install R by adding > > deb https://www.stats.bris.ac.uk/R/bin/linux/ubuntu bionic/< > https://www.stats.bris.ac.uk/R/bin/linux/ubuntu%20bionic/> > > in the source.list file? > > I realised that I’m able to compile > > sudo apt-get install r-base > > without doing the first step. Which is the difference between each one? > > Now that I’m more aware I know that it isn’t so straightforward to mirror > to CRAN and I have to hold my horses a bit more jeje. So should I install > previous of both R and Ubuntu? I mean, does it take a long time to have a > mirrored version? > > > Best, > Roman. > > > [[alternative HTML version deleted]] > > ___ > R-SIG-Debian mailing list > R-SIG-Debian@r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-debian > [[alternative HTML version deleted]] ___ R-SIG-Debian mailing list R-SIG-Debian@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-debian
Re: [R-sig-Debian] R for ubuntu 10.04?
Tengfei, Yes, there will be packages for 10.04 (lucid lynx) available on CRAN. I have done some testing and things should work fine. It takes a couple of days for the packages to hit CRAN, so please be patient. If you did upgrade, there are R packages in universe that you can install based on the version of R that is available about 2 months before the Ubuntu release. Michael On 04/27/2010 11:31 AM, Tengfei Yin wrote: Hi dear all I am currently using Ubuntu 9.10 (karmic) and R 2.10, I can find a R release that support karmic in cran under ubuntu directory, I plan to update my laptop to Ubuntu 10.04 after April 30, since I have to use some new features or new version in it, e.g. QT 4.6, I don't know if there is going to be a R release that will support this newly released Ubuntu? Thanks in advance! Best wishes Tengfei -- 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 ___ R-SIG-Debian mailing list R-SIG-Debian@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-debian
Re: [R-sig-Debian] R for ubuntu 10.04?
Hi Michael, Thanks for sharing this good news and your/your colleagues' work on that! I will be patient and waiting for it being officially released in the CRAN. Thanks again! Best Tengfei On Tue, Apr 27, 2010 at 10:38 AM, Michael Rutter ma...@psu.edu wrote: Tengfei, Yes, there will be packages for 10.04 (lucid lynx) available on CRAN. I have done some testing and things should work fine. It takes a couple of days for the packages to hit CRAN, so please be patient. If you did upgrade, there are R packages in universe that you can install based on the version of R that is available about 2 months before the Ubuntu release. Michael On 04/27/2010 11:31 AM, Tengfei Yin wrote: Hi dear all I am currently using Ubuntu 9.10 (karmic) and R 2.10, I can find a R release that support karmic in cran under ubuntu directory, I plan to update my laptop to Ubuntu 10.04 after April 30, since I have to use some new features or new version in it, e.g. QT 4.6, I don't know if there is going to be a R release that will support this newly released Ubuntu? Thanks in advance! Best wishes Tengfei -- 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 -- Tengfei Yin MCDB PhD student 1620 Howe Hall, 2274, Iowa State University Ames, IA,50011-2274 Homepage: www.tengfei.name [[alternative HTML version deleted]] ___ R-SIG-Debian mailing list R-SIG-Debian@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-debian
Re: [R-sig-Debian] R for ubuntu 10.04?
On 27 April 2010 at 10:31, Tengfei Yin wrote: | I am currently using Ubuntu 9.10 (karmic) and R 2.10, I can find a R release | that support karmic in cran under ubuntu directory, I plan to update my | laptop to Ubuntu 10.04 after April 30, since I have to use some new features | or new version in it, e.g. QT 4.6, I don't know if there is going to be a R | release that will support this newly released Ubuntu? As Michael said, it will. In the meantime, you can __already upgrade to R 2.11.0__ which has available since last week. So update your Karmic release to a new R now, and then upgrade your Ubuntu relase from Karmic to Lucid once Ubuntu releases. -- Regards, Dirk ___ R-SIG-Debian mailing list R-SIG-Debian@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-debian
Re: [R-sig-Debian] R for ubuntu 10.04?
Hi Dirk, Thanks for your suggestions and solution! I will upgrade them as you suggested~~ Regards Tengfei On Tue, Apr 27, 2010 at 11:17 AM, Dirk Eddelbuettel e...@debian.org wrote: On 27 April 2010 at 10:31, Tengfei Yin wrote: | I am currently using Ubuntu 9.10 (karmic) and R 2.10, I can find a R release | that support karmic in cran under ubuntu directory, I plan to update my | laptop to Ubuntu 10.04 after April 30, since I have to use some new features | or new version in it, e.g. QT 4.6, I don't know if there is going to be a R | release that will support this newly released Ubuntu? As Michael said, it will. In the meantime, you can __already upgrade to R 2.11.0__ which has available since last week. So update your Karmic release to a new R now, and then upgrade your Ubuntu relase from Karmic to Lucid once Ubuntu releases. -- Regards, Dirk -- Tengfei Yin MCDB PhD student 1620 Howe Hall, 2274, Iowa State University Ames, IA,50011-2274 Homepage: www.tengfei.name [[alternative HTML version deleted]] ___ R-SIG-Debian mailing list R-SIG-Debian@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-debian