Ajay Ohri
2011-Jan-22 06:50 UTC
[R] Debian ?Ubuntu version of latest R using synaptic in Ubuntu 10.10
Dear List I use synaptic to download R on my Ubuntu 10.10. It seems latest version of R on Ubuntu is 2.11.1 Even when I use debian.cran.r-project.org to update my packages the problem remains (latest versions on CRAN are almost always 2 updates ahead of Debian packages) This is also true for a lot of other packages as well My specific problem is while I can use sudo apt-get to update packages from Debian repository I get a permission denied when I am trying to update from CRAN from within R. I am a Linux newbie Please help Regards Ajay Websites- http://decisionstats.com [[alternative HTML version deleted]]
Daniel Nordlund
2011-Jan-22 08:06 UTC
[R] [R-sig-Debian] Debian ?Ubuntu version of latest R using synaptic inUbuntu 10.10
> -----Original Message----- > From: r-sig-debian-bounces at r-project.org [mailto:r-sig-debian-bounces at r- > project.org] On Behalf Of Ajay Ohri > Sent: Friday, January 21, 2011 10:50 PM > To: r-sig-debian at r-project.org; R list > Subject: [R-sig-Debian] Debian ?Ubuntu version of latest R using synaptic > inUbuntu 10.10 > > Dear List > > I use synaptic to download R on my Ubuntu 10.10. It seems latest version > of > R on Ubuntu is 2.11.1 > > Even when I use debian.cran.r-project.org to update my packages the > problem > remains (latest versions on CRAN are almost always 2 updates ahead of > Debian > packages) This is also true for a lot of other packages as well > > My specific problem is while I can use sudo apt-get to update packages > from > Debian repository I get a permission denied when I am trying to update > from > CRAN from within R. I am a Linux newbie > > Please help > > Regards > > Ajay >Ajay, To update from within R, start R using sudo and you should solve your permissions problem. In addition, go to the Linux section of "Download and Install R" on CRAN and see the instructions for downloading and installing the latest version of R for your version of Ubuntu. Hope this is helpful, Dan Daniel Nordlund Bothell, WA USA
Den
2011-Jan-22 11:36 UTC
[R] Debian ?Ubuntu version of latest R using synaptic in Ubuntu 10.10
...One more important thing: After updating your packages with sudo if you have additional packages installed with 'install.packages("<name>", dependencies=TRUE)' in R you will have to reinstall them Regards Denis ? ???, 22/01/2011 ? 12:20 +0530, Ajay Ohri ????:> Dear List > > I use synaptic to download R on my Ubuntu 10.10. It seems latest version of > R on Ubuntu is 2.11.1 > > Even when I use debian.cran.r-project.org to update my packages the problem > remains (latest versions on CRAN are almost always 2 updates ahead of Debian > packages) This is also true for a lot of other packages as well > > My specific problem is while I can use sudo apt-get to update packages from > Debian repository I get a permission denied when I am trying to update from > CRAN from within R. I am a Linux newbie > > Please help > > Regards > > Ajay > > Websites- > http://decisionstats.com > > [[alternative HTML version deleted]] > > ______________________________________________ > 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.
Hugo Mildenberger
2011-Jan-22 12:10 UTC
[R] Debian ?Ubuntu version of latest R using synaptic in Ubuntu 10.10
Ajay, you may try to run R as root while updating packages. Some packages insist to install in directories writeable only by root. On Saturday 22 January 2011 07:50:10 Ajay Ohri wrote:> Dear List > > I use synaptic to download R on my Ubuntu 10.10. It seems latest version of > R on Ubuntu is 2.11.1 > > Even when I use debian.cran.r-project.org to update my packages the problem > remains (latest versions on CRAN are almost always 2 updates ahead of Debian > packages) This is also true for a lot of other packages as well > > My specific problem is while I can use sudo apt-get to update packages from > Debian repository I get a permission denied when I am trying to update from > CRAN from within R. I am a Linux newbie > > Please help > > Regards > > Ajay > > Websites- > http://decisionstats.com > > [[alternative HTML version deleted]] > > ______________________________________________ > 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. >
mat
2011-Jan-22 12:17 UTC
[R] [R-sig-Debian] Debian ?Ubuntu version of latest R using synaptic in Ubuntu 10.10
Ajay Please avoid cross-posting on two lists. Continue this thread only on thes-ig-debian list. You can't update packages from within R? Did you try to start R with sudo permissions?: sudo R Hope this helps Mat Le 22. 01. 11 07:50, Ajay Ohri a ?crit :> Dear List > > I use synaptic to download R on my Ubuntu 10.10. It seems latest version of > R on Ubuntu is 2.11.1 > > Even when I use debian.cran.r-project.org to update my packages the problem > remains (latest versions on CRAN are almost always 2 updates ahead of Debian > packages) This is also true for a lot of other packages as well > > My specific problem is while I can use sudo apt-get to update packages from > Debian repository I get a permission denied when I am trying to update from > CRAN from within R. I am a Linux newbie > > Please help > > Regards > > Ajay > > Websites- > http://decisionstats.com > > [[alternative HTML version deleted]] > > _______________________________________________ > R-SIG-Debian mailing list > R-SIG-Debian at r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-debian
Michael Rutter
2011-Jan-22 12:45 UTC
[R-sig-Debian] Debian ?Ubuntu version of latest R using synaptic in Ubuntu 10.10
On 01/22/2011 01:50 AM, Ajay Ohri wrote:> Dear List > > I use synaptic to download R on my Ubuntu 10.10. It seems latest version of > R on Ubuntu is 2.11.1 > > Even when I use debian.cran.r-project.org to update my packages the problem > remains (latest versions on CRAN are almost always 2 updates ahead of Debian > packages) This is also true for a lot of other packages as well > > My specific problem is while I can use sudo apt-get to update packages from > Debian repository I get a permission denied when I am trying to update from > CRAN from within R. I am a Linux newbie > > Please help > > Regards > > AjayAjay, Please make sure you have followed all the instructions listed here: http://cran.r-project.org/bin/linux/ubuntu/ If that does not solve the issue, please list the lines added to your /etc/apt/sources.list file and what commands you used to upgrade R. Michael -- 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
Ajay Ohri
2011-Jan-23 15:34 UTC
[R-sig-Debian] Debian ?Ubuntu version of latest R using synaptic in Ubuntu 10.10
Hey Mat sudo R works! Also I modified the etc/sources.list to include a CRAN destination instead of the debian instances. thanks :)) only thing- i had to practically re install all packages from scratch. is there any way to avoid re-installing all packages if you are upgrading to a new R version in Ubuntu Linux Best Ajay Websites- http://decisionstats.com On Sat, Jan 22, 2011 at 5:47 PM, mat <matthieu.stigler@gmail.com> wrote:> Ajay > > Please avoid cross-posting on two lists. Continue this thread only on > thes-ig-debian list. > > You can't update packages from within R? Did you try to start R with sudo > permissions?: > sudo R > > Hope this helps > > Mat > > Le 22. 01. 11 07:50, Ajay Ohri a écrit : > >> Dear List >> >> I use synaptic to download R on my Ubuntu 10.10. It seems latest version >> of >> R on Ubuntu is 2.11.1 >> >> Even when I use debian.cran.r-project.org to update my packages the >> problem >> remains (latest versions on CRAN are almost always 2 updates ahead of >> Debian >> packages) This is also true for a lot of other packages as well >> >> My specific problem is while I can use sudo apt-get to update packages >> from >> Debian repository I get a permission denied when I am trying to update >> from >> CRAN from within R. I am a Linux newbie >> >> Please help >> >> Regards >> >> Ajay >> >> Websites- >> http://decisionstats.com >> >> [[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]]