Skip to content

Ifelse Execution

2 messages · Bhupendrasinh Thakre, Jeff Newmiller

#
Ifelse is a vector function and is absolutely inappropriate for that use.
Use "if" instead.
Also, read the help for Sys.sleep... you need to tell it how long you want to sleep. You should compute how long that is from now and sleep that long.
---------------------------------------------------------------------------
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.
Bhupendrasinh Thakre <vickythakre at gmail.com> wrote: