[R] Strange R CMD check \usage parse error
    Thomas Lumley 
    tlumley at u.washington.edu
       
    Fri May 17 17:37:53 CEST 2002
    
    
  
On Thu, 16 May 2002, Frank E Harrell Jr wrote:
> In running R CMD check I get an error I can't debug.  Would someone
> please let me know if they spot a syntax error in the code below or if
> there is a workaround for the parse error?  Thanks -Frank
>
>
>
>
> xyplot(y ~ x | conditioningvars, groups,
>        panel=panel.plsmo, type='b',
>        label.curves=T,
>        lwd = superpose.line$lwd,
>        lty = superpose.line$lty,
>        pch = superpose.symbol$pch,
>        cex = superpose.symbol$cex,
>        font = superpose.symbol$font,
>        col = NULL, ...)
> }
>
The usage checks convert to empty function declarations, so the syntax
error is in the converted version
  xyplot<-function (y ~ x | conditioningvars, groups,
        panel=panel.plsmo, type='b',
        label.curves=T,
        lwd = superpose.line$lwd,
        lty = superpose.line$lty,
        pch = superpose.symbol$pch,
        cex = superpose.symbol$cex,
        font = superpose.symbol$font,
        col = NULL, ...) NULL
You need to give the argument name for the first argument, ie
 	formula=y ~ x | conditioningvars
	-thomas
Thomas Lumley			Asst. Professor, Biostatistics
tlumley at u.washington.edu	University of Washington, Seattle
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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