Re: [Rd] problem with findFun call from embedded R

2007-07-06 Thread Joe Conway
Jeffrey Horner wrote: Joe Conway wrote: I was debugging a problem reported to me regarding PL/R, and found that I can duplicate it using only R sources. It might be characterized as possibly a misuse of the findFun() function, but I leave that for the R devel experts to decide. My question i

Re: [Rd] problem with findFun call from embedded R

2007-07-06 Thread Joe Conway
Joe Conway wrote: Yes, if I patch RNamedCall.c with the attached (based on your function), everything seems to work. Sorry -- I managed to mess up that patch. This one should be better. Joe *** ../../../R-2.5.1/tests/Embedding/RNamedCall.c Mon Sep 4 07:21:12 2006 --- RNamedCall.c Fri Jul 6

Re: [Rd] problem with findFun call from embedded R

2007-07-06 Thread Joe Conway
Byron Ellis wrote: > Yeah, setting R_Interactive is probably fine. Great -- thanks for the confirmation. > As to the findFun issue, > there is a much more useful function (findVar1 maybe?) that wouldn't > die if the object didn't exist. OK, I'll poke around R sources some more. The function prov

Re: [Rd] problem with findFun call from embedded R

2007-07-05 Thread Jeffrey Horner
Joe Conway wrote: > I was debugging a problem reported to me regarding PL/R, and found that > I can duplicate it using only R sources. It might be characterized as > possibly a misuse of the findFun() function, but I leave that for the R > devel experts to decide. > > The below results are all

Re: [Rd] problem with findFun call from embedded R

2007-07-04 Thread Byron Ellis
Yeah, setting R_Interactive is probably fine. I do it (not that I should be considered a "safe" user of R). As to the findFun issue, there is a much more useful function (findVar1 maybe?) that wouldn't die if the object didn't exist. Sadly, like many functions useful for the development of user in

[Rd] problem with findFun call from embedded R

2007-07-04 Thread Joe Conway
I was debugging a problem reported to me regarding PL/R, and found that I can duplicate it using only R sources. It might be characterized as possibly a misuse of the findFun() function, but I leave that for the R devel experts to decide. The below results are all with R-2.5.1 (I can't seem to