[R] installing knncat package

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Nov 15 09:32:54 CET 2004

This is an error in the package.  In file src/Makevars it has


which is a reference to the R sources.  That should not be there: please 
remove it and this may well work.

However, your version of R is rather old, which is why you are not seeing 
a pre-compiled version.   R 2.0.1 will be out this week, and please 
upgrade to it when all the current packages which compile under Windows 
will be available to you, pre-compiled.

On Mon, 15 Nov 2004, Jenny Edmondson wrote:

> Hi all,
> I am wondering if anyone has problem installing 'knncat' package. I tried to 
> install using  'Rcmd INSTALL knncat_1.1.1.tar.gz', error message appeared. I 
> attached the message in the end. I allso tried to install from RGui, but it 
> was not listed.


> gcc  --shared -s  -o knncat.dll knncat.def knncat.a knncat_res.o 
> -Lc:/R/rw1081/src/gnuwin32 c:/R/rw1081/src/modules/lapack/libRlapack.a 
-lRblas -lg2c -lg2c 
> -lR
> gcc.exe: c:/R/rw1081/src/modules/lapack/libRlapack.a: No such file or 
> directory

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

More information about the R-help mailing list