[R] Unable to load foreign after upgrade on ubuntu

Van Campenhout Bjorn bjorn.vancampenhout at ua.ac.be
Tue Oct 24 15:47:29 CEST 2006


I am running R on ubuntu dapper.  The version that is in the ubuntu
repos is 2.2.1, so I decided to upgrade by adding

deb http://cran.R-project.org/bin/linux/ubuntu dapper/ 

to my sources.list, as advised on the web page.  After sudo apt-get
update and upgrade, I have version 2.3.1.  However, when I try to load
the library 'foreign', I get the following error:

Error in dyn.load(x, as.logical(local), as.logical(now)):	
Unable to load shared library
'/usr/lib/R/library/foreign/libs/foreign.so':
/usr/lib/R/library/foreign/libs/foreign.so: undefined symbol: isfinite
Error: package/namespace load failed for 'foreign'

What is going wrong?

Bjorn


Bjorn Van Campenhout
Institute of Development Policy and Management (IDPM)
University of Antwerp
Venusstraat 35
2000 Antwerp - Belgium
++32 3 220 4648
www.ua.ac.be/bjorn.vancampenhout



More information about the R-help mailing list