Index: switch.Rd =================================================================== --- switch.Rd (revision 76766) +++ switch.Rd (working copy) @@ -39,7 +39,7 @@ in which case the next non-missing element is evaluated, so for example \code{switch("cc", a = 1, cc =, cd =, d = 2)} evaluates to \code{2}. If there is more than one match, the first matching element - is used. In the case of no match, if there is a unnamed element of + is used. In the case of no match, if there is an unnamed element of \code{\dots} its value is returned. (If there is more than one such argument an error is signaled.) @@ -46,7 +46,7 @@ The first argument is always taken to be \code{EXPR}: if it is named its name must (partially) match. - A warning is signaled if no alternatives are provides, as this is + A warning is signaled if no alternatives are provided, as this is usually a coding error. This is implemented as a \link{primitive} function that only evaluates