Skip to content
Prev 1017 / 398498 Next

R-beta: Re: "as.numeric" `mode' and `cast' should be kept separate.

Friedrich Leisch <Friedrich.Leisch at ci.tuwien.ac.at> writes:
...
I think I have at least half a CON: Is it necessary to do the
deparse(substitute(form)) bit, just to get rid of the quotes? There
are many occasions where you *feel like* doing that in R/S, but
refrain from it, realising that you really want to be able to pass the
argument in a variable, sometimes.

Some examples are:

 read.table(file.dat)
 plot(x,y,type=l) 

On the other hand, help and apropos already contain logic to allow
unquoted arguments.

Without that piece of logic one could just
[1] 3

This doesn't change pi, BTW:
[1] 3.141593