[R] BUG?

Jens Oehlschlägel-Akiyoshi jens.oehlschlaegel-akiyoshi at mdfactory.de
Mon Dec 20 21:08:05 CET 1999



Hi,

under RW0.651 and RW0.091
I found

> x <- data.frame(char=I(letters[1:3]), num=1:3, log=c(TRUE, FALSE, NA),
fak=factor(letters[24:26]))
> x
  char num   log fak
1    a   1  TRUE   x
2    b   2 FALSE   y
3    c   3    NA   z
>
> x[1,1] <- 'a'
> x[1,1]
[1] "1"
>
> x$char[1] <- 'a'
> x$char[1]
[1] "a"
>
> x[1,"char"] <- 'a'
> x[1,"char"]
[1] "1"


I have no time to go after this tonight, but it looks liks bug, doesn't it?
Regards


--
Dr. Jens Oehlschlägel-Akiyoshi
MD FACTORY GmbH
Bayerstrasse 21

80335 München

Tel.: 089 545 28-27
Fax.: 089 545 28-10
http://www.mdfactory.de

Standard Disclaimers: Opinions expressed here are personal
and are not otherwise represented.


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