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

Liaw, Andy andy_liaw at merck.com
Sun Jul 10 14:26:41 CEST 2005


The version of locfit on the web site mentioned apparently has been revised
by Prof. Loader, and is newer than the CRAN version that I have been
maintaining.  If Prof. Loader is OK with it, I will take a look and see if I
can get the new version into CRAN-conforming form and upload to CRAN.

Meanwhile, make sure you're using the package from Prof. Loader's web page,
instead of the one on CRAN, if you want the new features.

Andy

> From: Uwe Ligges 
> 
> Y Y wrote:
> 
> > 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"
> 
> So it is time to ask the maintainers of the package and the cited URL 
> (CCing both) to update at least one of them (package or 
> http://www.herine.net/locfit/start.html)
> 
> While the web page states the last update is "(December 16, 2004 
> version)", the version on CRAN is locfit_1.1-9.tar.gz dated 
> 14-Sep-2004.
> 
> Uwe Ligges
> 
> 
> 
> > 
> > 
> >>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
> > 
> > ______________________________________________
> > R-help at stat.math.ethz.ch mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html
> 
> 
>




More information about the R-help mailing list