[R] is.numeric () FALSE

Jeff Newmiller jdnewmil at dcn.davis.CA.us
Wed May 8 06:18:46 CEST 2013

This is an imponderable question, since we would have to be psychic to know what you are doing wrong without seeing what you are actually doing.

I can hypothesize that you are testing whether a data frame is numeric, and can warn you that a data frame will NEVER be numeric. The individual columns may or may not be numeric, but without a sample of your data I am stuck there.

Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
Sent from my phone. Please excuse my brevity.

Alannah <alannah.pearson at anu.edu.au> wrote:

>Hi there, I am reading into R a dataset with 30 variables. It is  in
>csv file
>format but have also tried txt. While my dataset loads without warning,
>I tried to use Geomorph package (my dataset is from a 3D model) I get a
>warning that is.atomic(x) is not true. I understand this is a broad
>with my dataset now being read as numbers. Thus, is.numeric comes back
>How do I fix this problem so my numeric dataset is read as numeric?
>View this message in context:
>Sent from the R help mailing list archive at Nabble.com.
>R-help at r-project.org mailing list
>PLEASE do read the posting guide
>and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list