Re: R-beta: scoping etc

Z. Todd Taylor (Todd.Taylor@pnl.gov)
Mon, 23 Feb 1998 08:24:16 -0800


Date: Mon, 23 Feb 1998 08:24:16 -0800
From: Todd.Taylor@pnl.gov (Z. Todd Taylor)
Subject: Re: R-beta: scoping etc
To: r-help@stat.math.ethz.ch

Bill Venables <wvenable@attunga.stats.adelaide.edu.au> wrote:

> [Looking at the way the "S virus" is mutating, it is possible to
> see how before long attach and detach may not be necessary.  The
> inclusion of a data= argument in the fitting and Trellis graphics
> functions, for example, usually obviate the need.  In time it may
> be possible for most functions to have an argument that specifies
> a temporary addition to the top of the search path as the
> preferential source of variables.

Along these lines, I've always wished the fitting and Trellis
functions (of S) would take a search position as the data=
argument.  The main reason I need such a thing is memory---when
the data set is just too large to cram into a single data frame,
you have to put individual vectors in a separate directory (or
user-defined database, or library, or whatever).  S's functions
that allow data= don't allow specifying those
directories/databases.  So you have to worry about name
conflicts in the search path and either do in-function attaching
and detaching, use ugly name prefixes (my usual habit), or
something similarly unsavory.

Of course, R doesn't attach directories at all and still has no
way to allow use of a database any larger than will fit into
memory, so my comment is a bit tangential at this point.  But as
R becomes its own virus, I hope it will come to accommodate
these huge databases in a natural way.

--Todd
-- 
Z. Todd Taylor
Pacific Northwest National Laboratory
Todd.Taylor@pnl.gov
Why does 'burn up' mean the same as 'burn down'?
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._