i think i found my problem, when i define the function: nb_select_scale<-function(blue,bla) { print(bla) } then the lda function results in an error in the scale function.. hm.. did i "overload" an existing function? thanks for your FAST help" Dr.Nicolaas Busscher Universit?t GH Kassel Nordbahnhofstrasse: 1a, D-37213 Witzenhausen Phone: 0049-(0)5542-98-1715, Fax: 0049-(0)5542-98-1713
Please do RTFM. Also try ?conflicts. _ was the assignment operator, and is not a valid part of a name. In recent versions you would have got a helpful warning .... On Wed, 6 Aug 2003, Nicolaas Busscher wrote:> i think i found my problem, > when i define the function: > nb_select_scale<-function(blue,bla) { > print(bla) > } > then the lda function results in an error in the scale function.. > hm.. did i "overload" an existing function?That means nb <- select <- scale <- function(.... -- 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
Your problem is in the use of the underscore character. Replace it with something else. In your version of R, it is synonymous with the "<-" operator. On Wed, 6 Aug 2003 18:04:56 +0200 amazing electrons exploded from the fingers of Nicolaas Busscher <busscher at wiz.uni-kassel.de>:> i think i found my problem, > when i define the function: > nb_select_scale<-function(blue,bla) { > print(bla) > } > then the lda function results in an error in the scale function.. > hm.. did i "overload" an existing function? > > thanks for your FAST help" > > Dr.Nicolaas Busscher Universit?t GH Kassel > Nordbahnhofstrasse: 1a, D-37213 Witzenhausen > Phone: 0049-(0)5542-98-1715, Fax: 0049-(0)5542-98-1713 > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help-- Dr. Marc Feldesman Professor and Chair Emeritus Anthropology Department Portland State University email: feldesmanm at pdx.edu web: http:/web.pdx.edu/~h1mf "Beyond every credibility gap lies a gullibility fill" Laurence Peter Powered by Titanochoerus the G4