[prev in list] [next in list] [prev in thread] [next in thread] 

List:       r-devel
Subject:    R-alpha: more bugs with names/dims, etc.:
From:       Martin Maechler <maechler () stat ! math ! ethz ! ch>
Date:       1997-11-14 17:27:00
[Download RAW message or body]


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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic