[R] Doubt about aov and lm function... bug?

Jose Claudio Faria joseclaudio.faria at gmail.com
Wed Apr 8 23:17:50 CEST 2009


Hi Peter and Rolf,

Many thanks for all!

The "bug" was just found: it is related with the package AlgDesign!
(and I've been loading it from Rprofile.site already for a long long time). :-(

See below:

R version 2.8.1 Patched (2009-01-22 r47680)
Copyright (C) 2009 The R Foundation for Statistical Computing
ISBN 3-900051-07-0

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

Design library by Frank E Harrell Jr

Type library(help='Design'), ?Overview, or ?Design.Overview')
to see overall documentation.

deldir 0.0-7

> aov(Sepal.Length ~ Species, data=iris)
Call:
   aov(formula = Sepal.Length ~ Species, data = iris)

Terms:
                Species Residuals
Sum of Squares       63        39
Deg. of Freedom       2       147

Residual standard error: 0.51
Estimated effects may be unbalanced

> library(AlgDesign)

> aov(Sepal.Length ~ Species, data=iris)

Error in parse(text = x) :
  unexpected symbol in "Sepal(Sepal.Length+Species)Length"

I wonder it is really a small bug. Do you agree?

All the best,
-- 
///\\\///\\\///\\\///\\\///\\\///\\\///\\\///\\\
Jose Claudio Faria
Estatistica - prof. Titular
UESC/DCET/Brasil
joseclaudio.faria at gmail.com
joseclaudio.faria at terra.com.br
///\\\///\\\///\\\///\\\///\\\///\\\///\\\///\\\




More information about the R-help mailing list