Mark W Kimpel
2008-Jan-30 04:14 UTC
[Rd] R package Matrix failing to build with R-devel on Ubuntu AMD64
Switched back to R-devel tonight after using R-2.6.1 for awhile and when I updated my devel packages Matrix installation failed. Not critical for me but thought I should report it. I am using Ubuntu Gusty AMD64 OS. Tail of install output and sessionInfo follows. Mark Loading required package: methods Loading required package: lattice Attaching package: 'Matrix' The following object(s) are masked from package:stats : xtabs Error in new("dgCMatrix") : trying to generate an object from a virtual class ("dgCMatrix") Calls: <Anonymous> ... eval.parent -> eval -> eval -> eval -> eval -> new -> .Call Execution halted ERROR: installing package indices failed ** Removing '/home/mkimpel/R_HOME/site-library/Matrix' ** Restoring previous '/home/mkimpel/R_HOME/site-library/Matrix' The downloaded packages are in /tmp/RtmpJviXfF/downloaded_packages Warning message: In install.packages("Matrix") : installation of package 'Matrix' had non-zero exit status > sessionInfo() R version 2.7.0 Under development (unstable) (2008-01-29 r44238) x86_64-unknown-linux-gnu locale: LC_CTYPE=en_US.UTF-8;LC_NUMERIC=C;LC_TIME=en_US.UTF-8;LC_COLLATE=en_US.UTF-8;LC_MONETARY=en_US.UTF-8;LC_MESSAGES=en_US.UTF-8;LC_PAPER=en_US.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_US.UTF-8;LC_IDENTIFICATION=C attached base packages: [1] tools stats graphics grDevices utils datasets methods [8] base other attached packages: [1] Biobase_1.17.8 loaded via a namespace (and not attached): [1] tcltk_2.7.0 -- Mark W. Kimpel MD ** Neuroinformatics ** Dept. of Psychiatry Indiana University School of Medicine 15032 Hunter Court, Westfield, IN 46074 (317) 490-5129 Work, & Mobile & VoiceMail (317) 204-4202 Home (no voice mail please) mwkimpel<at>gmail<dot>com
Martin Maechler
2008-Jan-31 10:54 UTC
[Rd] R package Matrix failing to build with R-devel on Ubuntu AMD64
>>>>> "MWK" == Mark W Kimpel <mwkimpel at gmail.com> >>>>> on Tue, 29 Jan 2008 23:14:30 -0500 writes:MWK> Switched back to R-devel tonight after using R-2.6.1 for awhile and when MWK> I updated my devel packages Matrix installation failed. Not critical for MWK> me but thought I should report it. I am using Ubuntu Gusty AMD64 OS. MWK> Tail of install output and sessionInfo follows. Mark MWK> Loading required package: methods MWK> Loading required package: lattice MWK> Attaching package: 'Matrix' MWK> The following object(s) are masked from package:stats : MWK> xtabs MWK> Error in new("dgCMatrix") : MWK> trying to generate an object from a virtual class ("dgCMatrix") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ MWK> Calls: <Anonymous> ... eval.parent -> eval -> eval -> eval -> eval -> MWK> new -> .Call MWK> Execution halted MWK> ERROR: installing package indices failed ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ MWK> ** Removing '/home/mkimpel/R_HOME/site-library/Matrix' MWK> ** Restoring previous '/home/mkimpel/R_HOME/site-library/Matrix' MWK> The downloaded packages are in MWK> /tmp/RtmpJviXfF/downloaded_packages MWK> Warning message: MWK> In install.packages("Matrix") : MWK> installation of package 'Matrix' had non-zero exit status >> sessionInfo() MWK> R version 2.7.0 Under development (unstable) (2008-01-29 r44238) MWK> x86_64-unknown-linux-gnu Thank you, Mark, for the report. Indeed --- to my own very big astonishment --- I *can* reproduce the problem. In the above messages, it's pretty funny that "dgCMatrix" is said to be a virtual class (which it is clearly not from the Matrix source). The "daily" CRAN package checks don't show the problem yet, but the checks' R version is>> R 2.7.0 Under development (unstable) (2008-01-27 r44199)which is a bit older, than the one you used (and even older than the one I used ..... r44258) I'm pretty sure I know around where the problem appeared.. More on this later. Martin Maechler, ETH Zurich
Apparently Analagous Threads
- 2.10.0 Under development (unstable) (2009-09-15 r49711) just built segfaults on Debian Squeeze
- [BioC] RCurl loading problem with 64 bit linux distribution
- [BioC] RCurl loading problem with 64 bit linux distribution
- Dispatching on a dgCMatrix does not work.
- S4 method dispatch with inheritance