[R] Slight fault in error messages

Martin Maechler maechler at stat.math.ethz.ch
Tue Jun 20 15:03:24 CEST 2006


Thank you, Yan,

>>>>> "Yan" == Yan Wong <h.y.wong at leeds.ac.uk>
>>>>>     on Tue, 13 Jun 2006 12:27:48 +0100 writes:

    Yan> Just a quick point which may be easy to correct. Whilst
    Yan> typing the wrong thing into R 2.2.1, I noticed the
    Yan> following error messages, which seem to have some stray
    Yan> quotation marks and commas in the list of available
    Yan> families. Perhaps they have been corrected in the
    Yan> latest version (sorry, I don't want to upgrade yet, but
    Yan> it should be easy to check)?

    >> glm(1 ~ 2, family=quasibinomial(link=foo))
    Yan> Error in quasibinomial(link = foo) : ‘foo’ link not
    Yan> available for quasibinomial family, available links are
    Yan> "logit", ", ""probit" and "cloglog"

    >> glm(1 ~ 2, family=binomial(link=foo))
    Yan> Error in binomial(link = foo) : link "foo" not
    Yan> available for binomial family, available links are
    Yan> "logit", ""probit", "cloglog", "cauchit" and "log"

    Yan> I hope this is helpful,

yes, indeed, thank you.
It will be fixed in the next versions of R.

Martin



More information about the R-help mailing list