[inlinedocs] tabs before comments and symbols, S3 methods

Thomas Wutzler twutz at bgc-jena.mpg.de
Fri Apr 30 15:20:52 CEST 2010


Dear Keith,

> 1) automatically generates \method{}{} markup which should be correct if
> and only if the generic name is everything up to but not including the
> first period in the function name. Thus this will not work properly if a
> generic function has a name like "my.generic" so that the specific
> function
> is "my.generic.my_type".
How about the following pattern?
"^(.*)\\.([^\\.]+)$"

This allows generics including a dot . e.g. "as.data.frame" (I
encountered exactly this case)
But it does not allow for objects names with a dot.

Thomas




More information about the Inlinedocs-support mailing list