I have troubles installing the "SparseM" package on my Debian stable Linux system. Debian's version of R is: platform i386-pc-linux-gnu arch i386 os linux-gnu system i386, linux-gnu status major 1 minor 5.1 year 2002 month 06 day 17 language R This is the installation output: > R CMD INSTALL -l /usr/lib/R/ SparseM_0.36.tar.gz * Installing *source* package 'SparseM' ... ** libs g77 -fPIC -g -O2 -c bckslv.f -o bckslv.o g77 -fPIC -g -O2 -c chol.f -o chol.o g77 -fPIC -g -O2 -c cholesky.f -o cholesky.o g77 -fPIC -g -O2 -c csr.f -o csr.o g77 -fPIC -g -O2 -c extract.f -o extract.o gcc -I/usr/lib/R/include -D__NO_MATH_INLINES -mieee-fp -fPIC -g -O2 -c iohb.c -o iohb.o gcc -I/usr/lib/R/include -D__NO_MATH_INLINES -mieee-fp -fPIC -g -O2 -c readwrite.c -o readwrite.o g77 -fPIC -g -O2 -c sparskit.f -o sparskit.o g77 -fPIC -g -O2 -c subscr.f -o subscr.o gcc -shared -o SparseM.so bckslv.o chol.o cholesky.o csr.o extract.o iohb.o readwrite.o sparskit.o subscr.o -L/usr/lib/gcc-lib/i386-linux/2.95.4 -lreadline -ldl -lncurses -lg2c-pic -lm -L/usr/lib/R/bin -lR ** R ** data ** demo ** inst ** save image Loading required package: methods [1] TRUE [1] "matrix.csr" Error in conformMethod(signature, mnames, fnames) : Formal arguments omitted in the method definition cannot be in the signature: object Execution halted ERROR: execution of package source for 'SparseM' failed The same happens if I try to install it from within R by calling install.packages("SparseM"). Could anybody help me to get SparseM running? Thanks in advance Felix
You need to find a version of SparseM in the CRAN archive of comparable age to your R version (nearly two years), *or*, much better, update your R to 1.9.0 (or the current patched version) Hint to maintainers of packages using S4 methods: you almost certainly need to declare a dependence on a rather recent version of R since the methods code has changed a lot in the last two years. On Wed, 12 May 2004, Felix Salfner wrote:> I have troubles installing the "SparseM" package on my Debian stable > Linux system. > > Debian's version of R is: > platform i386-pc-linux-gnu > arch i386 > os linux-gnu > system i386, linux-gnu > status > major 1 > minor 5.1 > year 2002 > month 06 > day 17 > language R[...] -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595