Detection Of The R-Wave In Ecg Signals