On Mon, Jul 26, 2010 at 3:12 PM, Michael Rutter <mar36 at psu.edu> wrote:
On 07/26/2010 04:48 PM, Ben Domingue wrote:
Hello,
I am trying to upgrade to 2.11 from 2.10 in the hopes of gaining
TCL/TK capabilities (let's pretend for the moment that this should
work). ?I've added "deb http://cran.stat.ucla.edu/bin/linux/ubuntu
lucid/" to /etc/apt/sources.list as described in the guide and have
run
apt-get update
apt-get install r-base r-base-dev
Things seem to work. ?When I look at the installed packages on my
machine, I see:
bd at bd-laptop:~$ apt-show-versions | grep "r-base"
r-base/unknown uptodate 2.11.1-2lucid0
r-base-core/unknown uptodate 2.11.1-2lucid0
r-base-dev/unknown uptodate 2.11.1-2lucid0
But when I run R, I'm still running 2.10:
R version 2.10.1 (2009-12-14)
x86_64-unknown-linux-gnu
locale:
[1] C
attached base packages:
[1] stats ? ? graphics ?grDevices utils ? ? datasets ?methods ? base
? ? ? ? ? ? ? ?_
platform ? ? ? x86_64-unknown-linux-gnu
arch ? ? ? ? ? x86_64
os ? ? ? ? ? ? linux-gnu
system ? ? ? ? x86_64, linux-gnu
status
major ? ? ? ? ?2
minor ? ? ? ? ?10.1
year ? ? ? ? ? 2009
month ? ? ? ? ?12
day ? ? ? ? ? ?14
svn rev ? ? ? ?50720
language ? ? ? R
version.string R version 2.10.1 (2009-12-14)
What's going on? ?Sorry if this has been addressed before; I've been
unable to find it in the archives.
Ben Domingue
Ben,
Not sure why you have:
r-base/unknown uptodate 2.11.1-2lucid0
You should have:
r-base/lucid uptodate 2.11.1-2lucid0
I think the first thing to do is remove R and then re-install.
sudo apt-get remove r-base r-base-dev
sudo apt-get update
sudo apt-get install r-base r-base-dev
If that does not work, resend the what apt-show-versions and R.version
return.
Hope this helps,
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
Thanks Michael. ?I did what you suggested, but I still have
bd at bd-laptop:~$ apt-show-versions | grep "r-base"
r-base/unknown uptodate 2.11.1-2lucid0
r-base-core/unknown uptodate 2.11.1-2lucid0
r-base-dev/unknown uptodate 2.11.1-2lucid0
r-base-html/unknown uptodate 2.11.1-2lucid0
The only thing I can think is that it may be related to the mirror.
The line in my sources.list reads:
deb http://cran.stat.ucla.edu/bin/linux/ubuntu lucid/
which seems right, but perhaps I'm missing something. ?I'm not
bothering with the key, so perhaps that is part of the problem...
Here is the R.version:
? ? ? ? ? ? ? _
platform ? ? ? x86_64-unknown-linux-gnu
arch ? ? ? ? ? x86_64
os ? ? ? ? ? ? linux-gnu
system ? ? ? ? x86_64, linux-gnu
status
major ? ? ? ? ?2
minor ? ? ? ? ?10.1
year ? ? ? ? ? 2009
month ? ? ? ? ?12
day ? ? ? ? ? ?14
svn rev ? ? ? ?50720
language ? ? ? R
version.string R version 2.10.1 (2009-12-14)