[Rd] Another wishlist for R
Duncan Murdoch
dmurdoch at pair.com
Mon Jan 26 14:46:41 MET 2004
I like the head() and tail() functions -- nice additions.
One question: is there a return type or class for head.function that
would print without the quotes? E.g.
> head(plot.default)
[1] "function (x, y = NULL, type = \"p\", xlim = NULL, ylim = NULL, "
[2] " log = \"\", main = NULL, sub = NULL, xlab = NULL, ylab =
NULL, "
[3] " ann = par(\"ann\"), axes = TRUE, frame.plot = axes,
panel.first = NULL, "
[4] " panel.last = NULL, col = par(\"col\"), bg = NA, pch =
par(\"pch\"), "
[5] " cex = 1, lty = par(\"lty\"), lab = par(\"lab\"), lwd =
par(\"lwd\"), "
[6] " asp = NA, ...) "
would look nicer as
> head(plot.default)
function (x, y = NULL, type = "p", xlim = NULL, ylim = NULL,
log = "", main = NULL, sub = NULL, xlab = NULL, ylab = NULL,
ann = par("ann"), axes = TRUE, frame.plot = axes, panel.first =
NULL,
panel.last = NULL, col = par("col"), bg = NA, pch = par("pch"),
cex = 1, lty = par("lty"), lab = par("lab"), lwd = par("lwd"),
asp = NA, ...)
(which are the first 6 lines you see if you print plot.default).
Duncan Murdoch
More information about the R-devel
mailing list