Dirk Eddelbuettel
2006-Oct-12 12:12 UTC
[R-sig-Debian] Problems with package foreign (r-cran-foreign)
On 12 October 2006 at 13:02, Gregor Gorjanc wrote: | Hello! | | I encounter the following problem when I try to load package foreign | | library(foreign) | 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: | Rf_allocString | Error: package/namespace load failed for 'foreign' | | I have installed R as deb packages and I get above behaviour in 2.4.0-1. | I have tried to reinstall r-cran-foreign but got the same behaviour. | However, if I install package foreign via install.packages() there is no | such problem. CRAN version of package is 0.8-17, while r-cran-foreign is | 0.8-15 and it seems that it needs to be updated. Yes, please see http://bugs.debian.org/392084 I forgot to actually upload foreign, but that has been done now. Tip: install the devscripts package and try $ rmadison foreign # shows source pkg $ rmadison r-cran-foreign # shows binary per arch. Also, too many packages in testing depend on R 2.4.0 --- so you may want R 2.4.0 from testing. I'm CCing r-sig-debian as a heads up. Thanks for the report, Dirk | | Thanks! | | -- | Lep pozdrav / With regards, | Gregor Gorjanc | ---------------------------------------------------------------------- | University of Ljubljana PhD student | Biotechnical Faculty | Zootechnical Department URI: http://www.bfro.uni-lj.si/MR/ggorjan | Groblje 3 mail: gregor.gorjanc <at> bfro.uni-lj.si | | SI-1230 Domzale tel: +386 (0)1 72 17 861 | Slovenia, Europe fax: +386 (0)1 72 17 888 | | ---------------------------------------------------------------------- | "One must learn by doing the thing; for though you think you know it, | you have no certainty until you try." Sophocles ~ 450 B.C. | ---------------------------------------------------------------------- -- Hell, there are no rules here - we're trying to accomplish something. -- Thomas A. Edison
Gregor Gorjanc
2006-Oct-15 00:42 UTC
[R-sig-Debian] Problems with package foreign (r-cran-foreign)
Dirk Eddelbuettel wrote:> On 12 October 2006 at 13:02, Gregor Gorjanc wrote:...> I forgot to actually upload foreign, but that has been done now. Tip: install > the devscripts package and try > > $ rmadison foreign # shows source pkg > $ rmadison r-cran-foreign # shows binary per arch. > > Also, too many packages in testing depend on R 2.4.0 --- so you may want R > 2.4.0 from testing. I'm CCing r-sig-debian as a heads up. >I apologize for late response. Yes, aptitude install -t unstable r-cran-foreign solves my problem. Thank you Dirk for this and also other Debian-R related work. rmadison command rocks. I was always wondering how one could easily get info that rmadison spits out so nicely and fast! -- Lep pozdrav / With regards, Gregor Gorjanc ---------------------------------------------------------------------- University of Ljubljana PhD student Biotechnical Faculty Zootechnical Department URI: http://www.bfro.uni-lj.si/MR/ggorjan Groblje 3 mail: gregor.gorjanc <at> bfro.uni-lj.si SI-1230 Domzale tel: +386 (0)1 72 17 861 Slovenia, Europe fax: +386 (0)1 72 17 888 ---------------------------------------------------------------------- "One must learn by doing the thing; for though you think you know it, you have no certainty until you try." Sophocles ~ 450 B.C.