[Rd] inconsistent behaviour of c(...)

Michael Meyer @pyqqqd|@ @end|ng |rom y@hoo@com
Thu Jul 18 16:55:54 CEST 2019



Greetings,

Running R 3.5.0 under Windows 7

typeof(c(1,"2")) yields "character" as expected. But in

d.f <- data.frame(C=c(1,"2"))

typeof(d.f$C) yields "integer".

Is this a bug?

Michael Meyer



More information about the R-devel mailing list