[R] can't find 'predict.loess' in a loop

2011-12-22 Thread Stuart Leask
Season's Greetings. I am using 'predict' in a loop, but it is behaving unexpectedly, so I am more explicit and use 'predict.loess', and R says it can't find it. Even if I explicitly load the stats library, which is already in the search path. Any ideas? This is odd, because if I use RB LB

Re: [R] can't find 'predict.loess' in a loop

2011-12-22 Thread Uwe Ligges
See methods(predict) and find that methods are hidden in the Namespaces and are ought to be accessed by the generic. If you really want to access it explicitly (which i not intended by design), see help(:::) Your code is not reproducible, hence we cannot help in detail. Uwe Ligges On

Re: [R] can't find 'predict.loess' in a loop

2011-12-22 Thread Prof Brian Ripley
On 22/12/2011 08:55, Uwe Ligges wrote: See methods(predict) and find that methods are hidden in the Namespaces and are ought to be accessed by the generic. If you really want to access it explicitly (which i not intended by design), see help(:::) Your code is not reproducible, hence we cannot