[R] Just curiosity
    Martin Maechler 
    maechler at stat.math.ethz.ch
       
    Wed Nov 11 18:17:49 CET 1998
    
    
  
>>>>> "Kjetil" == Kjetil Halvorsen <khal at alumni.uv.es> writes:
    Kjetil> Can anybody explain why
    >> ?function
    Kjetil> + + + ) Error: syntax error
    Kjetil> so that
    >> ?"function"
    Kjetil> is necessarty???
    Kjetil> This seems reasonable with
    Kjetil> ?"?",
    Kjetil> but I can not see why the "" are necessary with function (and
    Kjetil> some other examples)
	function
is a reserved word.
The following is (de-latexified) from "R-devel/doc/manual/primitive-funs.tex"
((which you will see as one of the first appendices in
  RHOME/doc/manual/Man.dvi   after "make dvi" 
  in R 0.63 (to be released soon)
))
*  ``Special functions'' which really are \emph{language} elements,
   however exist as .Primitive functions in R:
      {   (   if   for   while   repeat   break   next
      return   function   on.exit
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
    
    
More information about the R-help
mailing list