With: R version 2.4.1 Patched (2007-01-22 r40548)
"rep" is missing from methods:::.BasicFunsList, causing methods:::genericForPrimitive("rep") to fail, which in turn causes setMethod("rep", ...) to fail. (setGeneric("rep") of course fails as it should, saying that rep is a primitive and methods can be set). Here's the fix: [EMAIL PROTECTED]:/vobs/products/R> gdiff -ub src/library/methods/R/BasicFunsList.R@@/main/LATEST src/library/methods/R/BasicFunsList.R --- src/library/methods/R/BasicFunsList.R@@/main/LATEST Tue Jan 23 22:55:28 2007 +++ src/library/methods/R/BasicFunsList.R Wed Jan 24 23:56:32 2007 @@ -116,6 +116,10 @@ } , "missing" = FALSE , "on.exit" = FALSE +, "rep" = function(x, ...) +{ + standardGeneric("rep") +} , "substitute" = FALSE , "symbol.C" = FALSE , "symbol.For" = FALSE Visit our website at http://www.ubs.com This message contains confidential information and is intend...{{dropped}} ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel