[R] If equal statement for character objects

Bert Gunter gunter.berton at gene.com
Mon Jul 30 17:03:35 CEST 2012

1. Please read an Intro to R before posting further. In your previous
post you confused "=" with "==". These and other basic matters are
discussed there, so you can save yourself -- and this list -- a lot of
time and aggravation by familiarizing yourself with it.(Unless this
was just a typo).

2. I presume that you read the ?all.equal Help -- the part about not
using all.equal directly in if() expressions -- and adjusted your code

3. Please post directly to this list, not on Nabble, as context is
lost for those who access R-help directly, which means also that you
reduce the likelihood of a helpful reply.

-- Bert

On Mon, Jul 30, 2012 at 7:41 AM, cm <bunnylover23 at optonline.net> wrote:
> nevermind. all.equal() works!
> --
> View this message in context: http://r.789695.n4.nabble.com/If-equal-statement-for-character-objects-tp4638359p4638361.html
> Sent from the R help mailing list archive at Nabble.com.
> ______________________________________________
> R-help at r-project.org mailing list
> 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.


Bert Gunter
Genentech Nonclinical Biostatistics

Internal Contact Info:
Phone: 467-7374

More information about the R-help mailing list