Skip to content

Commit eda6d32

Browse files
author
smeyer
committed
clarify recycling (suggested by Duncan Murdoch)
git-svn-id: https://svn.r-project.org/R/trunk@89358 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent ae90020 commit eda6d32

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/manual/R-intro.texi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -626,9 +626,9 @@ Vectors can be used in arithmetic expressions, in which case the
626626
operations are performed element by element. Vectors occurring in the
627627
same expression need not all be of the same length. If they are not,
628628
the value of the expression is a vector with the same length as the
629-
longest vector which occurs in the expression. Shorter vectors in the
630-
expression are @emph{recycled} as often as need be (perhaps
631-
fractionally) until they match the length of the longest vector. In
629+
longest vector which occurs in the expression. @emph{Recycling} occurs in each
630+
binary operation: the shorter vector is recycled as often as need be (perhaps
631+
fractionally) until it matches the length of the longer vector. In
632632
particular a constant is simply repeated. So with the above assignments
633633
the command
634634
@cindex Recycling rule

0 commit comments

Comments
 (0)