I contacted the arules package maintainer. He concluded the syntax I submitted to this original post is correct. The problem he estimates is a version mismatch within my R packages, although all packages I am using come from R repositories. Specifically, something is off on the r-base version I am running. I will remove all of R from my box and look to other repositories. *Stephen Dawson, DSL* /Executive Strategy Consultant/ Business & Technology +1 (865) 804-3454 http://www.shdawson.com On 9/2/22 12:50, Stephen H. Dawson, DSL via R-help wrote:> Go it, thanks. > > *Stephen Dawson, DSL* > /Executive Strategy Consultant/ > Business & Technology > +1 (865) 804-3454 > http://www.shdawson.com > > > On 9/2/22 12:46, Bert Gunter wrote: >> 1. I told you essentially everything there is to know. >> 2. Chapter 13.3 of "An Introduction to R" on 'namespaces'. >> 3. Search on "masking in R" >> >> Bert >> >> On Fri, Sep 2, 2022 at 9:01 AM Stephen H. Dawson, DSL >> <service at shdawson.com> wrote: >>> Bert, >>> Thanks for the guidance. Do you have a documentation URL I can >>> review to >>> research your suggestion? >>> >>> Ivan, >>> Thanks for the guidance. The traceback() revealed the same results that >>> I shared originally. >>> >>> This is a bigger problem than coding a command set to run against data. >>> It does seem like a version problem with arules or how it leverages >>> r-base. I will go to arules maintainer for further guidance. >>> >>> >>> Kindest Regards, >>> *Stephen Dawson, DSL* >>> /Executive Strategy Consultant/ >>> Business & Technology >>> +1 (865) 804-3454 >>> http://www.shdawson.com >>> >>> >>> On 9/2/22 03:09, Ivan Krylov wrote: >>>> ? Thu, 1 Sep 2022 11:45:15 -0400 >>>> "Stephen H. Dawson, DSL via R-help" <r-help at r-project.org> ?????: >>>> >>>>> Error in eval(ei, envir) : object 'Insert' not found >>>> traceback() is invaluable when debugging errors like this. >>>> >>>> It might be a bug in one of the packages you're running. You might end >>>> up having to contact the maintainer (see the maintainer() function) of >>>> one of them to have it fixed. >>>> > > ______________________________________________ > 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. >
Hello, Before removing all of R, why not run update.packages() ? Hope this helps, Rui Barradas ?s 17:14 de 04/09/2022, Stephen H. Dawson, DSL via R-help escreveu:> I contacted the arules package maintainer. > > He concluded the syntax I submitted to this original post is correct. > The problem he estimates is a version mismatch within my R packages, > although all packages I am using come from R repositories. Specifically, > something is off on the r-base version I am running. > > I will remove all of R from my box and look to other repositories. > > > *Stephen Dawson, DSL* > /Executive Strategy Consultant/ > Business & Technology > +1 (865) 804-3454 > http://www.shdawson.com > > > On 9/2/22 12:50, Stephen H. Dawson, DSL via R-help wrote: >> Go it, thanks. >> >> *Stephen Dawson, DSL* >> /Executive Strategy Consultant/ >> Business & Technology >> +1 (865) 804-3454 >> http://www.shdawson.com >> >> >> On 9/2/22 12:46, Bert Gunter wrote: >>> 1. I told you essentially everything there is to know. >>> 2. Chapter 13.3 of "An Introduction to R" on 'namespaces'. >>> 3. Search on "masking in R" >>> >>> Bert >>> >>> On Fri, Sep 2, 2022 at 9:01 AM Stephen H. Dawson, DSL >>> <service at shdawson.com> wrote: >>>> Bert, >>>> Thanks for the guidance. Do you have a documentation URL I can >>>> review to >>>> research your suggestion? >>>> >>>> Ivan, >>>> Thanks for the guidance. The traceback() revealed the same results that >>>> I shared originally. >>>> >>>> This is a bigger problem than coding a command set to run against data. >>>> It does seem like a version problem with arules or how it leverages >>>> r-base. I will go to arules maintainer for further guidance. >>>> >>>> >>>> Kindest Regards, >>>> *Stephen Dawson, DSL* >>>> /Executive Strategy Consultant/ >>>> Business & Technology >>>> +1 (865) 804-3454 >>>> http://www.shdawson.com >>>> >>>> >>>> On 9/2/22 03:09, Ivan Krylov wrote: >>>>> ? Thu, 1 Sep 2022 11:45:15 -0400 >>>>> "Stephen H. Dawson, DSL via R-help" <r-help at r-project.org> ?????: >>>>> >>>>>> Error in eval(ei, envir) : object 'Insert' not found >>>>> traceback() is invaluable when debugging errors like this. >>>>> >>>>> It might be a bug in one of the packages you're running. You might end >>>>> up having to contact the maintainer (see the maintainer() function) of >>>>> one of them to have it fixed. >>>>> >> >> ______________________________________________ >> 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. >> > > ______________________________________________ > 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.
On Sun, 4 Sep 2022 12:14:23 -0400 "Stephen H. Dawson, DSL via R-help" <r-help at r-project.org> wrote:> The problem he estimates is a version mismatch within my R packages, > although all packages I am using come from R repositories. > Specifically, something is off on the r-base version I am running.Could you provide a small example (including a small, anonymised version of ./input/DataSet.csv) that would reproduce the problem? In my opinion, there's debugging to be done, but that's relatively complicated. I would start with options(error = recover), browse the variables at the point of the crash (who's calling eval()? what's the expression being evaluated? what's in the environment?) and try to figure out why the expectations of the expression aren't met by the environment. What's suspicious is that I can't find any mention of a variable named "Insert" or a piece of code saying eval(ei, envir) in the code of the "arules" package, and it doesn't have any non-core or recommended hard dependencies except "generics". The reason I asked for a traceback() is to clarify where exactly the error happens and perhaps uncover a reason for the failure through that. -- Best regards, Ivan