[Rd] Unhidden predict methods
Henric Nilsson (Public)
nilsson.henric at gmail.com
Fri Mar 16 13:42:35 CET 2007
Den 2007-03-16 13:25, Prof Brian Ripley skrev:
> The reason some are not hidden is historical: they were called
> explicitly by (contributed) package code at the time namespaces were
Ah, I see.
In that case I'll just hide away as much as possible in the new package
I'm working on.
> It would be a good idea to revisit some of those decisions, but it is
> not a very appealing way to spend one's time.
> On Fri, 16 Mar 2007, Henric Nilsson (Public) wrote:
>> I've noted that not all `predict' methods are hidden in the namespace:
>> > methods("predict")
>>  predict.ar* predict.Arima*
>>  predict.arima0* predict.glm
>>  predict.HoltWinters* predict.lm
>>  predict.loess* predict.mlm
>>  predict.nls* predict.poly
>>  predict.ppr* predict.prcomp*
>>  predict.princomp* predict.smooth.spline*
>>  predict.smooth.spline.fit* predict.StructTS*
>> Non-visible functions are asterisked
>> I'm sure there's a good reason for this, but I haven't been able to
>> figure it out. Please enlighten me.
More information about the R-devel