Are you sure that wasn't oh-3 rather than 03? --------------------------------------------------------------------------- Jeff Newmiller The ..... ..... Go Live... DCN:<jdnew...@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.
On November 17, 2015 1:57:15 PM PST, peter dalgaard <pda...@gmail.com> wrote: > >> On 17 Nov 2015, at 20:37 , Bert Gunter <bgunter.4...@gmail.com> >wrote: >> >>> 2 == "2" >> [1] TRUE >> >> ?"==" says: >> >> "If the two arguments are atomic vectors of different types, one is >> coerced to the type of the other, the (decreasing) order of >precedence >> being character, complex, numeric, integer, logical and raw." >> >>> as.character(99999) >> [1] "99999" >>> as.character(100000) >> [1] "1e+05" >>> as.character(100000) == "100000" >> [1] FALSE >> > >Also notice that, for similar reasons > >> 10 > "2" >[1] FALSE > >(At least in most collations. I recently discovered that OSX Finder >sorted 2dnorm.R between 02-Probability.toc and >03-Combinatorics-2x2.pdf.) ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.