Hello. using the lm command, I always receive the error message "couldn't find the function "is"". Do you haven an idea, what that means? Thanks for your help. Best regards. Kathrin L.
> -----Original Message----- > From: r-help-bounces at r-project.org > [mailto:r-help-bounces at r-project.org] On Behalf Of Kathrin Linsler > Sent: Friday, November 12, 2010 5:22 AM > To: r-help at r-project.org > Subject: [R] error message: "is" > > Hello. > > using the lm command, I always receive the error message > "couldn't find > the function "is"". Do you haven an idea, what that means?Try adding the line library("methods") before calling lm(). (I've heard that some front-ends for R do not load the methods package by default.) Bill Dunlap Spotfire, TIBCO Software wdunlap tibco.com> > Thanks for your help. > > Best regards. > Kathrin L. > > ______________________________________________ > R-help at r-project.org mailing list > 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. >
Hi Kathrin, Can you provide: 1) the results of sessionInfo() on your system 2) a copy of the code from the R console leading up to and including the error message? For example the exact lm() call, and if possible some example data that you could use in the lm() call. Sincerely, Josh On Fri, Nov 12, 2010 at 5:21 AM, Kathrin Linsler <klinsler at googlemail.com> wrote:> Hello. > > using the lm command, I always receive the error message "couldn't find > the function "is"". Do you haven an idea, what that means? > > Thanks for your help. > > Best regards. > Kathrin L. > > ______________________________________________ > R-help at r-project.org mailing list > 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. >-- Joshua Wiley Ph.D. Student, Health Psychology University of California, Los Angeles http://www.joshuawiley.com/
With that limited information I fear that no one can really help you. Please read the posting guide (link at the bottom of each mail) and include your code with which we can reproduce your error. Only then we can guess what causes this problem. For now I can only guess that you spelled some command incorrectly. Cheers Jnnis Kathrin Linsler schrieb:> Hello. > > using the lm command, I always receive the error message "couldn't find > the function "is"". Do you haven an idea, what that means? > > Thanks for your help. > > Best regards. > Kathrin L. > > ______________________________________________ > R-help at r-project.org mailing list > 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. > >
Apparently Analagous Threads
- R-squared with Intercept set to 0 (zero) for linear regression in R is incorrect
- What does this error message mean?
- Error message glmer using R: “ 'what' must be a character string or a function”
- Line similarity
- padding specific missing values with NA to allow cbind