[R] Summary: do.call and environments
Thomas Petzoldt
petzoldt at rcs.urz.tu-dresden.de
Thu Mar 11 09:45:32 CET 2004
Hello,
> > f("fx",2)
> [1] 6
>
> I would have naively expected 14. From whence cometh "6"?
> Also, I prefer to use transportable code wherever feasible. The
2*3=6, which was the intention. It is in fact only a proof of
correctness, that "7" is not used here. The proposal of Gabor does
exactly, what I want, but if it does not work on S-PLUS, it's a serious
disadvantage and I should check this too.
Thomas P.
More information about the R-help
mailing list