[R] Using RSPerl with add-on package ctest and named parameters

ripley@stats.ox.ac.uk ripley at stats.ox.ac.uk
Thu Jun 13 17:52:55 CEST 2002


On Thu, 13 Jun 2002, Frank Gibbons wrote:

> At 11:41 AM 6/13/2002, you wrote:
>
> > > The problem is, it doesn't complain, it doesn't return anything at all.
> > > Shouldn't it print out the results just like the R code does, or does it
> >
> >It would if you called print() on the return value (which is not a
> >scalar).
>
> Brian,
>
> I tried that already, and get the same result as if I had tried assigning
> to a scalar (see below).
>
> Can you suggest something else? Do you know for sure that it should return
> a value (rather than printing out its own results)? If so, is there

I know for sure, because I can read the code, which ends

    class(RVAL) <- "htest"
    return(RVAL)
}

Until you finish `An Introduction to R', don't doubt the experts.

Professor Ripley

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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