Skip to content

merge warning is.na(out$h)

2 messages · Fulton, Brent, Brian Ripley

#
Hi, 

Does anyone know how to interpret this merge warning and whether it's critical to fix? The merge seemed to work fine, but I am concerned.

data3<-merge(data1, data2, by="ID", all=TRUE)

Warning messages: 1: is.na() applied to non-(list or vector) in: is.na(out$h)  Error in cat(list(...), file, sep, fill, labels, append) : argument 2 not yet handled by cat

When I remove all=TRUE or just include all.y=TRUE, I don't get the warning; however, I get the warning when I include all.x=TRUE.

Thanks,
Brent Fulton



--------------------

This email message is for the sole use of the intended recip...{{dropped}}
#
That error/warning is not from merge() (it does not contain that code, 
nor do the standard R packages).  options(warn=2) and traceback() will 
show you where it is coming from.

Note that you have an error during printing the warning, which suggests 
there is more wrong than you have seen.

Please provide a reproducible example, or at least str(data1) and 
str(data2).  (Your final comment suggests it is data1 that is unusual.)
On Mon, 15 Aug 2005, Fulton, Brent wrote: