Ben Bolker's wish list
Prof Brian D Ripley
Wed, 10 Feb 1999 07:56:42 +0000 (GMT)
On Tue, 9 Feb 1999, Ben Bolker wrote:
> - the ability to set just the lower or upper limits on an axis and
> have the other limit auto-scaled (somewhat trickier: I don't know the
> most convenient way for the user to specify this)
The obvious idea is to use NA to specify a limit to be computed.
> either an option or a separate function that makes edit() change the
> underlying object:
> pedit <- function (y)
> assign(deparse(substitute(y)), edit(y), inherits = TRUE)
Why do you want that? In particular, what do you want inherits = TRUE to
achieve? (As I understand R's documentation, this replaces objects
found down the search path in the global environment, so you must
envisage calling pedit from within a nested set of expressions.)
If you take a closer look at fix(), you will see that you only want
to deparse names and it would be better to check if y (why `y'?) exists.
As I see it all you want to do is to change the last line of fix, and I am
puzzled as to why you want to do that.
Brian D. Ripley, firstname.lastname@example.org
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
r-devel 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: email@example.com