[R] cannot have a function argument named 'break'
    Thomas Lumley 
    tlumley at u.washington.edu
       
    Mon Nov  3 01:48:05 CET 2003
    
    
  
On Sun, 2 Nov 2003, Thomas W Blackwell wrote:
> Dear list  -
>
> I just discovered to my surprise that I cannot define
> a function with an argument named 'break' or 'while'!
> 'breaks' is okay.  Maybe this is no surprise to the R
> developers.
You can't use any of the words that are part of the R language (as opposed
to functions).  The ones I can think of are
   for while repeat
   next break
   if else
   function
	-thomas
Thomas Lumley			Assoc. Professor, Biostatistics
tlumley at u.washington.edu	University of Washington, Seattle
    
    
More information about the R-help
mailing list