Skip to content
Prev 280977 / 398503 Next

sapply Call Returning " the condition has length > 1" Error

I suggest you (re-?)read the posting guide. Proper etiquette on this list is to provide a fully self-contained ("reproducible") example that demonstrates your problem. You are free to supply an alternate to your actual function as long as it illustrates your problem and you can deal with the re-substitution on your own.
---------------------------------------------------------------------------
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.
Alex Zhang <alex.zhang at ymail.com> wrote: