On Wed, 6 Aug 2003, Nicolaas Busscher wrote: > enclosed a simple R script (and a data file, and the output) , with > calls lda similar to the example with the iris data in the > documentation. it is not working and i dont understand the error > message. can anybody help me? i am using R 1.5.1 (2002.06.17) on > debian woody stable. > > I would like to avoid updating now, because i want to keep the system > in "stable". can somebody test, if the newer version didnt have this > problem ? thanks
Notice the error is from scale(), and that has not been changed for 18 months. Your session appears to have a corrupt version of scale, and perhaps you ought to use a clean session and R --vanilla to help you find your problem. > > z<-lda(assignment ~ .,actaData,prior=prio,tol=1.0e-08) > Error in scale(group.means, center = xbar, scale = FALSE) : > unused argument(s) (center ...) > Execution halted BTW, your code does work in current R. -- Brian D. Ripley, [EMAIL PROTECTED] 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 ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help