Re: [Rd] R-2.0.0 findVar and findFun question

2004-10-08 Thread Matjaz Kukar
Prof Brian Ripley wrote: On Fri, 8 Oct 2004, Matjaz Kukar wrote: Dear all, when working on a project with embedded R, I found out that R-2.0.0 causes a problem where older versions worked OK. Rf_findVar(...) causes the following error when used to find a generic function (such as print): fun = Rf_

Re: [Rd] R-2.0.0 findVar and findFun question

2004-10-08 Thread Matjaz Kukar
Peter Dalgaard wrote: > Can't see anything relevant changed recently... Well, the visible change for me was that findVar now for generic functions does not return the correct object, and so findFun should be used. Although this is probably a consequence of some deeper change. I can see that findFu

Re: [Rd] R-2.0.0 findVar and findFun question

2004-10-08 Thread Prof Brian Ripley
On Fri, 8 Oct 2004, Matjaz Kukar wrote: > Dear all, > > when working on a project with embedded R, I found out that R-2.0.0 causes > a problem where older versions worked OK. > > Rf_findVar(...) causes the following error when used to find a generic function > (such as print): > > fun = Rf_find

Re: [Rd] R-2.0.0 findVar and findFun question

2004-10-08 Thread Peter Dalgaard
Matjaz Kukar <[EMAIL PROTECTED]> writes: > My workaround for now is as follows: > > fun = Rf_findVar(Rf_install(ident), R_GlobalEnv); > if (fun != R_UnboundValue) { > fun = Rf_findFun(Rf_install(ident), R_GlobalEnv); > R_tryEval(fun, ...); > } > > I did some checking

[Rd] R-2.0.0 findVar and findFun question

2004-10-08 Thread Matjaz Kukar
Dear all, when working on a project with embedded R, I found out that R-2.0.0 causes a problem where older versions worked OK. Rf_findVar(...) causes the following error when used to find a generic function (such as print): fun = Rf_findVar(...); R_tryEval(fun, ...); Error in function (object, ...)