(PR#1964) The attached function working fine with R 1.3.0 but giving problem with R 1.5.1 (PR#1964)

Kaushik Bhattacharyya stakb@nus.edu.sg
Fri, 30 Aug 2002 17:29:00 +0800


Yes. It passed the "make check". The problem is coming in Tru64 Unix also.

Here is the error message.

For example:

> clusproj(newiris,rep(1,4))
Error in X %*% a : requires numeric matrix/vector arguments

Here newiris is the iris dataset.

Thanks,

Kaushik

-----Original Message-----
From: ripley@stats.ox.ac.uk [mailto:ripley@stats.ox.ac.uk] 
Sent: Friday, August 30, 2002 4:41 PM
To: Kaushik Bhattacharyya
Cc: r-devel@stat.math.ethz.ch; R-bugs@biostat.ku.dk; Yannis Yatracos
Subject: RE: (PR#1964) The attached function working fine with R 1.3.0 but giving problem with R 1.5.1 (PR#1964)


And the error message is?

Since you mention this is Solaris, did the the installation pass `make check'?  There is a known problem with current gcc compilers on Solaris generating incorrect code.

On Fri, 30 Aug 2002, Kaushik Bhattacharyya wrote:

> The division part of the following code is not executing -
>
> (seq(n-1)*mean(XS)-cumsum(XS[seq(n-1)]))*diff(XS)/((n-1)*var(XS))


-- 
Brian D. Ripley,                  ripley@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 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._