'getAnywhere' is not reporting methods when there are periods in the class name or the generic name (in R-devel).> getAnywhere( 'predict.loess')A single object matching 'predict.loess' was found It was found in the following places registered S3 method for predict from namespace modreg namespace:modreg with value <<...>>> getAnywhere( 'predict.smooth.spline.fit')A single object matching 'predict.smooth.spline.fit' was found It was found in the following places namespace:modreg with value <<...>> In the second case, the report doesn't state that 'predict.smooth.spline.fit' is a registered method. Also e.g.> getAnywhere( 'as.dendrogram.hclust')doesn't report that this is a registered method. It looks like the two lines in 'getAnywhere' starting "gen <-" & "cl <- " might want to become: gen <- paste(parts[1:(i - 1)], collapse = ".") cl <- paste(parts[ i:length(parts)], collapse = ".") Mark Bravington CSIRO (CMIS) PO Box 1538 Castray Esplanade Hobart TAS 7001 phone (61) 3 6232 5118 fax (61) 3 6232 5012 Mark.Bravington@csiro.au --please do not edit the information below-- Version: platform = i386-pc-mingw32 arch = i386 os = mingw32 system = i386, mingw32 status = alpha major = 1 minor = 8.0 year = 2003 month = 09 day = 22 language = R Windows 2000 Professional (build 2195) Service Pack 3.0 Search Path: .GlobalEnv, package:methods, package:ctest, package:mva, package:modreg, package:nls, package:ts, Autoloads, package:base
>>>>> "Mark" == Mark Bravington <Mark.Bravington@csiro.au> >>>>> on Wed, 24 Sep 2003 10:06:49 +0200 (MET DST) writes:Mark> 'getAnywhere' is not reporting methods when there are Mark> periods in the class name or the generic name (in R-devel). >> getAnywhere( 'predict.loess') Mark> A single object matching 'predict.loess' was found Mark> It was found in the following places Mark> registered S3 method for predict from namespace modreg Mark> namespace:modreg Mark> with value Mark> <<...>> >> getAnywhere( 'predict.smooth.spline.fit') Mark> A single object matching 'predict.smooth.spline.fit' was found Mark> It was found in the following places Mark> namespace:modreg Mark> with value Mark> <<...>> Mark> In the second case, the report doesn't state that Mark> 'predict.smooth.spline.fit' is a registered method. Mark> Also e.g. >> getAnywhere( 'as.dendrogram.hclust') Mark> doesn't report that this is a registered method. Mark> It looks like the two lines in 'getAnywhere' starting Mark> "gen <-" & "cl <- " might want to become: Mark> gen <- paste(parts[1:(i - 1)], collapse = ".") Mark> cl <- paste(parts[ i:length(parts)], collapse = ".") Exactly! Thank you, Mark, for the report and the proposed patch. It is currently running the tests will most probably be committed before tomorrows beta snapshot. Martin Maechler Mark> Mark Bravington Mark> CSIRO (CMIS) Mark> PO Box 1538 Mark> Castray Esplanade Mark> Hobart Mark> TAS 7001 Mark> phone (61) 3 6232 5118 Mark> fax (61) 3 6232 5012 Mark> Mark.Bravington@csiro.au Mark> --please do not edit the information below-- Mark> Version: Mark> platform = i386-pc-mingw32 Mark> arch = i386 Mark> os = mingw32 Mark> system = i386, mingw32 Mark> status = alpha Mark> major = 1 Mark> minor = 8.0 Mark> year = 2003 Mark> month = 09 Mark> day = 22 Mark> language = R