Re: [Rd] ANN/RFC: package providing TAB completion for readline-based R

2006-10-23 Thread Deepayan Sarkar
On 10/23/06, Dirk Eddelbuettel <[EMAIL PROTECTED]> wrote: > > On 23 October 2006 at 16:51, Deepayan Sarkar wrote: > [... nice announcement trimmed ...] > | There are a couple of things about which I would like some advice: > | > | (1) The package currently contains a very rudimentary configure scri

Re: [Rd] ANN/RFC: package providing TAB completion for readline-based R

2006-10-23 Thread Dirk Eddelbuettel
On 23 October 2006 at 16:51, Deepayan Sarkar wrote: [... nice announcement trimmed ...] | There are a couple of things about which I would like some advice: | | (1) The package currently contains a very rudimentary configure script | which stops installation when readline is not found. I'm not su

[Rd] ANN/RFC: package providing TAB completion for readline-based R

2006-10-23 Thread Deepayan Sarkar
Announcement: (For those every-once-in-a-while occasions when you run R from a terminal instead of Emacs, and then wish something would happen when you hit TAB...) Last week, I started looking at the GNU Readline documentation to see if I could figure out how to use it for command completion with

Re: [Rd] Getting hold of a package's environment from C code

2006-10-23 Thread Deepayan Sarkar
On 10/23/06, Luke Tierney <[EMAIL PROTECTED]> wrote: > On Mon, 23 Oct 2006, Prof Brian Ripley wrote: > > > As far as I can tell from the original post, Deepayan asked for a way > > to find a package's namespace environment (rather than the package > > environment, not ), so the subject line is > >

Re: [Rd] Changing function arguments

2006-10-23 Thread McGehee, Robert
Thanks all. Combining your suggestions, and marking up Gabor's example, below is the function 'chgArg', which recursively goes through an expression or language object looking for all functions that contain 'arg', and then incrementing that argument by 'offset'. The biggest improvement over the s

[Rd] Excessive network load

2006-10-23 Thread Claudio Lottaz
Dear all, I wonder, if anybody experiences similar problems and if there are any simple solutions to be suggested. We observe that R causes a lot of network traffic and thus slows down the performance of the whole network. When tracing the network traffic on the machine which serves the R inst

Re: [Rd] Changing function arguments

2006-10-23 Thread Thomas Lumley
On Sun, 22 Oct 2006, McGehee, Robert wrote: > R-Developers, > I'm looking for some help computing on the R language. > > I'm hoping to write a function that parses a language or expression > object and returns another expression with all instances of certain > argument of a given function altered.

Re: [Rd] Getting hold of a package's environment from C code

2006-10-23 Thread Luke Tierney
On Mon, 23 Oct 2006, Prof Brian Ripley wrote: > As far as I can tell from the original post, Deepayan asked for a way > to find a package's namespace environment (rather than the package > environment, not ), so the subject line is > subject to misinterpretation. > > On Mon, 23 Oct 2006, Prof Bri

Re: [Rd] Getting hold of a package's environment from C code

2006-10-23 Thread Luke Tierney
On Mon, 23 Oct 2006, Prof Brian Ripley wrote: > On Sun, 22 Oct 2006, Seth Falcon wrote: > >> Seth Falcon <[EMAIL PROTECTED]> writes: >>> Perhaps: >>> >>> R_FindNamespace(mkString(where)) >> >> Sorry, this won't help you for package-level code as this function is >> part of the internal use only AP

Re: [Rd] Getting hold of a package's environment from C code

2006-10-23 Thread Prof Brian Ripley
As far as I can tell from the original post, Deepayan asked for a way to find a package's namespace environment (rather than the package environment, not ), so the subject line is subject to misinterpretation. On Mon, 23 Oct 2006, Prof Brian Ripley wrote: > On Sun, 22 Oct 2006, Seth Falcon wr

Re: [Rd] Getting hold of a package's environment from C code

2006-10-23 Thread Prof Brian Ripley
On Sun, 22 Oct 2006, Seth Falcon wrote: > Seth Falcon <[EMAIL PROTECTED]> writes: >> Perhaps: >> >> R_FindNamespace(mkString(where)) > > Sorry, this won't help you for package-level code as this function is > part of the internal use only API. It would be nice to have access to > it or a similar