Skip to content
Prev 308506 / 398506 Next

Error: not 'a real'?

Le samedi 20 octobre 2012 ? 14:25 +0200, Brian a ?crit :
Why didn't you tell us that you were using read.csv2() and not
read.table() directly? read.csv() passes dec="," to read.table(), which
explains why numbers with a dot are not detected as reals. Just pass
dec="." to fix the problem


Regards