[R] Error in eval(expr, envir, enclos) : could not find function

William Dunlap wdunlap at tibco.com
Tue Sep 22 22:09:02 CEST 2015


You left out the rest of the error message (the name of the function
it is looking for is key):
    > lm(Y ~ nosuchfuncion(X), data=data.frame(Y=1:10,X=log(1:10)))
    Error in eval(expr, envir, enclos) :
       could not find function "nosuchfuncion"
Bill Dunlap
TIBCO Software
wdunlap tibco.com


On Tue, Sep 22, 2015 at 12:07 PM, Alaa Sindi <alaasindi at gmail.com> wrote:
> hi all
>
> I am getting this error "Error in eval(expr, envir, enclos) : could not find function “
>
> do you have an idea what might cause this problem.
>
> thanks
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list