Skip to content

assign, documentation (PR#1434)

1 message · Peter Dalgaard

#
Robert Gentleman <rgentlem@jimmy.harvard.edu> writes:
...
Moi? Only for certain kinds of documentation as you surely know. In
other contexts I'd willingly go for reducing precision to improve
overall clarity. But I do think accuracy is more important than
anything else on help pages. It is the wrong context in which to try
to be pedagogical.

This really is the place to pick nits, and, e.g., the argument to
assign is *not* a quoted string; it is a character vector whose first
element becomes the name of the assigned object.

The nit I was picking was in fact not relevant for the original
question, but would be in the "a[1]" <- 2 case. The improvement is
that there are cases where you *must* quote the left hand side, in
contrast with what the help page is saying.