Re: [Rd] Scoping issues

2007-01-08 Thread Gabor Grothendieck
On 1/8/07, Chris Eisley <[EMAIL PROTECTED]> wrote: > Hello Prof Ripley, > > Prof Brian Ripley wrote: > > I don't undersand what the issues are, but he actually said > > > >>> These files make up a package, > > > > and all the source files on an R packages are concatenated and loaded > > into a sing

Re: [Rd] Scoping issues

2007-01-08 Thread Chris Eisley
Hello Prof Ripley, Prof Brian Ripley wrote: > I don't undersand what the issues are, but he actually said > >>> These files make up a package, > > and all the source files on an R packages are concatenated and loaded > into a single environment. So my understanding of the answer to > >>> I as

Re: [Rd] Scoping issues

2007-01-07 Thread Prof Brian Ripley
I don't undersand what the issues are, but he actually said >> These files make up a package, and all the source files on an R packages are concatenated and loaded into a single environment. So my understanding of the answer to >> I assume there's a good way to deal with this kind of issue. i

Re: [Rd] Scoping issues

2007-01-07 Thread John Fox
Dear Chris, If I correctly understand what you want to do, the Rcmdr package uses the following functions (slightly modified from original version contributed by Philippe Grosjean) to solve a similar problem: RcmdrEnv <- function() { pos <- match("RcmdrEnv", search()) if (is.na(pos)) { #