R-alpha: more bugs with names/dims, etc.:

Martin Maechler Martin Maechler <maechler@stat.math.ethz.ch>
Fri, 14 Nov 1997 18:27:00 +0100


 x_1:4
 data.frame(x=2*x, y=3*x) - structure(x, names=letters[seq(x)])

## R :
## Error in data.frame(x = 2 * x, y = 3 * x) - structure(x, names = letters[seq(x)]) : non-numeric argument to binary operator

## S:
  x y 
1 1 2
2 2 4
3 3 6
4 4 8
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
r-devel 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-devel-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=