[Rd] Finding inter-function dependencies within a package

2011-09-29 Thread Keith Jewell
Hi, I'd like to know which functions in a package call one specific function. I think I've seen a tool for identifying such dependencies, but now I can't find it :-( Searches of help and R site search for keywords like function, call, tree, depend haven't helped :-( Can anyone point me in the

Re: [Rd] Finding inter-function dependencies within a package

2011-09-29 Thread Rainer M Krug
On Thu, Sep 29, 2011 at 1:11 PM, Keith Jewell k.jew...@campden.co.ukwrote: Hi, I'd like to know which functions in a package call one specific function. I think I've seen a tool for identifying such dependencies, but now I can't find it :-( Roxygen had the functionality to draw dependency

Re: [Rd] Finding inter-function dependencies within a package

2011-09-29 Thread Duncan Murdoch
On 11-09-29 7:11 AM, Keith Jewell wrote: Hi, I'd like to know which functions in a package call one specific function. I think I've seen a tool for identifying such dependencies, but now I can't find it :-( Searches of help and R site search for keywords like function, call, tree, depend

[Rd] Warning: changing locked binding for ...

2011-09-29 Thread Wincent
Dear all, I use the R R Under development (unstable) (2011-09-28 r57099). When I load the RQDA package, it issues warnings. As the RQDA package developer, what should I deal with such message? Thank you very much. library(gWidgetsRGtk2) Loading required package: gWidgets library(RQDA) Loading

Re: [Rd] Warning: changing locked binding for ...

2011-09-29 Thread Duncan Murdoch
On 29/09/2011 12:44 PM, Wincent wrote: Dear all, I use the R R Under development (unstable) (2011-09-28 r57099). When I load the RQDA package, it issues warnings. As the RQDA package developer, what should I deal with such message? Thank you very much. Don't attempt to change variables in

[Rd] grep and PCRE fun

2011-09-29 Thread Jeffrey Horner
Hello, I think I've found a bug in the C function do_grep located in src/main/grep.c. It seems to affect both the latest revisions of R-2-13-branch and trunk when compiling R without optimizations and with it's own version of pcre located in src/extra, at least on ubuntu 10.04. According to the

Re: [Rd] grep and PCRE fun

2011-09-29 Thread Jeffrey Horner
On Thu, Sep 29, 2011 at 4:00 PM, Jeffrey Horner jeffrey.hor...@gmail.com wrote: Hello, I think I've found a bug in the C function do_grep located in src/main/grep.c. It seems to affect both the latest revisions of R-2-13-branch and trunk when compiling R without optimizations and with it's

Re: [Rd] grep and PCRE fun

2011-09-29 Thread Henrik Bengtsson
On Thu, Sep 29, 2011 at 2:00 PM, Jeffrey Horner jeffrey.hor...@gmail.com wrote: Hello, I think I've found a bug in the C function do_grep located in src/main/grep.c. It seems to affect both the latest revisions of R-2-13-branch and trunk when compiling R without optimizations and with it's

Re: [Rd] Finding inter-function dependencies within a package

2011-09-29 Thread Mark.Bravington
Hi Keith 'foodweb' and friends in the 'mvbutils' package should do what you're after. For example, I just tried this on the 'debug' package: ff - foodweb( where=asNamespace( 'debug')) # Now either just eyeball the dependency graph that 'foodweb' produces, or more formally: callers.of(

Re: [Rd] Warning: changing locked binding for ...

2011-09-29 Thread Wincent
Duncan, thanks very much. Yet, I don't recall I attempt to change any thing in the gWidgetsRGtk2. Is there a way to trace what part of the code is trying to do so? Thanks. Wincent On 30 September 2011 01:01, Duncan Murdoch murdoch.dun...@gmail.com wrote: On 29/09/2011 12:44 PM, Wincent wrote: