[R] package loading smooth.lf (LOCFIT), couldn't find function "smooth.lf"

Y Y ssquid at gmail.com
Sat Jul 9 18:04:39 CEST 2005


After loading locfit, I am unable to access functions within locfit.

following
http://www.herine.net/locfit/start.html

> library("locfit")
> x <- 10*runif(100)
> y <- 5*sin(x)+rnorm(100)
> fit <- smooth.lf(x,y)
Error: couldn't find function "smooth.lf"


> fit <- locfit(y~lp(x))
Error in eval(expr, envir, enclos) : couldn't find function "lp"

library() or package manager GUI  tells me locfit is loaded

Any ideas on how to fix this ?

SS, running on R 2.1, MacOS 10.3.9




More information about the R-help mailing list