[Rd] getAnywhere (PR#4275)
Mark.Bravington at csiro.au
Mark.Bravington at csiro.au
Wed Sep 24 11:06:49 MEST 2003
'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 at 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
More information about the R-devel
mailing list