Hi Dear R-users:

    I am building a R package and would like to create a generic variance
function. Here is how I did

var=function(x,...)
{
UseMethod("var")
}

I wrote a Rd file, put the R code in the right directory, and named var,
var.default in the namespace. However, once I typed rcmd check , it gave me
an error in S3-generic step.  However, that error would not occur for mean
and median generic functions. Any suggestion is highly appreciated.

Kind regards & Many Thanks:
Han

	[[alternative HTML version deleted]]

