[R] NAs introduced when changing data type

Prof Brian D Ripley ripley at stats.ox.ac.uk
Thu Jun 22 21:17:44 CEST 2000

On Thu, 22 Jun 2000, Tord Snall wrote:

> Hi all,
> I am trying to change data type in the Data Editor but when I do, all
> numbers in the column changes to NA and back in the Console I get the
> warning message "NAs introduced by coercion".
> What's wrong? The table consists of 95 columns and 470 rows.

Who knows? We'll need more details (such as R version and platform) and a
reproducible example: see the section 9 of the FAQ.

All I can say is that simple examples do work for me.

Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

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